I have an application in ionic 3, I add barcode scanner feature to my app. It’s can be test smoothly with Ionic dev app. However, when I build android apk and run on device, my app force quit when I touch button to scan barcode.
Make sure your AndroidManifest.xml file has the right permissions in it. (platforms/android/app/src/main/AndroidManifest.xml). I had this same problem. Have a look at the plugin’s plugin.xml and make sure all the permissions make it to the AndroidManifest.xml