Reputation: 1
I have searched alot for a solution to this. And only found old answers which don't help.
I am using cordova plugin add phonegap-plugin-barcodescanner
cordova 6.1.1 barcodescanner 4.1.0 Android 6
I deploy my app on android 6 but get the 'Sorry the android camera encountered a problem' when I attempt to launch the barcode scanner.
Upvotes: 0
Views: 1726
Reputation: 9077
Do you have the permissions set up in Manifest?
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
Upvotes: 0