Skip to content

Confusion about what isGoogleBarcodeScannerModuleAvailable does and why installGoogleBarcodeScannerModule is needed #84

Closed Answered by robingenz
basvdijk asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your request.

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.

Yes, available means installed in this case. I will improve the documentation.

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.

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@basvdijk
Comment options

Answer selected by basvdijk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants