Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82406

Barcode scanner widget does not recognise camera

$
0
0

I have created a mobile app that uses the barcodeScannerForPhonegap widget (version 3.0.1). This works fine testing in development using the mendix developer app. I then proceeded with deploying to the acceptance environment of my cloud slot and created a phonegap package using the default 'build in the cloud' option (android only). The resulting apk file I installed on my android phone but the barcode scanner throws me an error that the camera could not be found.

I noticed during installation that no special access was required. This brought me to the androidmanifest file where authorisation requests should be declared. This file is missing from the phonegap package but then again, the phonegap documentation states that it is build by phonegap based on the config file. In the config file the plugin for phonegap-plugin-barcodescanner is present.

So, do I need to manually add a manifest.xml to the phonegap package? Or am I missing something else?


Viewing all articles
Browse latest Browse all 82406

Trending Articles