Barcode scanner widget not Offline capable

3
After enabling the offline device property, the following error appears: Custom widget "BarcodeScanner for PhoneGap" is not offline capable and cannot be used on pages that are accessible though the offline profile. Can I have any hope that this widget will be accessible for offline devices in the near future?
asked
3 answers
3

Please file a feature request here: https://github.com/mendix/BarcodeScannerForPhoneGap/issues

answered
0

Any update on this? Would be really great to use this offline

answered
0

Update: The barcode scanner has been adapted to work offline too.

Note: You will need to add the following code to the custom Phonegap/Cordova configuration xml snippet that can be found at the bottom of the mobile app deployment page. The barcode scanner will not work on iOS without it.

<plugin name="phonegap-plugin-barcodescanner" />
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
    <string>To scan barcodes</string>
</edit-config>

 

p.s; I was redirected here by google search initially and Robert Zuijdam's instructions were spot on. During implementation however I found that the widget now already has this code per default. Only the above xml snippet was the final clue that was missing for iOS.

answered