-
There is a function called
For me it is unclear if "available" is the same as installed. Or that "available" refers to that the module is available to be installed. Then there is the
For me it is unclear when I have to call this function and how I can determine if this module needs to be installed. I am also wondering why the developer needs to take care of this and why the plugin can not install this module if it is not available. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thank you for your request.
Yes,
The problem is that this installation can take some time (depending on the network connection etc.) and sometimes it fails completely (e.g. if there is no network connection). As a developer, I would like to have the ability to react to any events and possibly display appropriate instructions to the user. Before I show the user the button to scan a barcode I want to know if the module is available at all. If not, I start the installation and show the user a progress indicator. |
Beta Was this translation helpful? Give feedback.
Thank you for your request.
Yes,
available
meansinstalled
in this case. I will improve the documentation.The problem is that this installation can take some time (depending on the network connection etc.) and sometimes it fails completely (e.g. if there is no network connection). As a developer, I would like to have the ability to react to any events and possibly display appropriate instructions to the user. Befor…