Please file a feature request here: https://github.com/mendix/BarcodeScannerForPhoneGap/issues
Any update on this? Would be really great to use this offline
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.