I have this line in my config.xml file to add the barcode scanner:
When I submit to PhoneGap Build, this error appears in the log:
error: package com.google.zxing.client.android does not exist
The iOS version builds fine.
Any ideas?
When I submit to PhoneGap Build, this error appears in the log:
error: package com.google.zxing.client.android does not exist
The iOS version builds fine.
Any ideas?
- 34 Posts
- 0 Reply Likes
Posted 4 years ago
- 34 Posts
- 0 Reply Likes
Sorry - the question editor swallows less than signs.
<plugin name="phonegap-plugin-barcodescanner" source="npm" />
<plugin name="phonegap-plugin-barcodescanner" source="npm" />
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
OK.
This plugin was updated 4 days ago. A major update. Errors/bugs are possible.
The plugin requires a recent PGB version. I would suggest you build with PGB cli-6.1.0 first and see if that builds correctly.
If not, it would be a good idea to post an issue at the plugin's Github repo.
https://github.com/phonegap/phonegap-...
This plugin was updated 4 days ago. A major update. Errors/bugs are possible.
The plugin requires a recent PGB version. I would suggest you build with PGB cli-6.1.0 first and see if that builds correctly.
If not, it would be a good idea to post an issue at the plugin's Github repo.
https://github.com/phonegap/phonegap-...
- 34 Posts
- 0 Reply Likes
Sure enough, that fixed it. Thank you!
The default version for PGB is still 5.2. When will it change to the current version?
The default version for PGB is still 5.2. When will it change to the current version?
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
:-)
You never know.
cli-6.0.0 was introduced as 'beta', at least for Winphone. I don't know if they also still labeled cli-6.1.0 as 'somewhat experimental'.
You never know.
cli-6.0.0 was introduced as 'beta', at least for Winphone. I don't know if they also still labeled cli-6.1.0 as 'somewhat experimental'.
- 34 Posts
- 0 Reply Likes
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers

