0
votes

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.

1

1 Answers

0
votes

Do you have the permissions set up in Manifest?

<uses-permission android:name="android.permission.CAMERA" />
 <uses-feature android:name="android.hardware.camera" />