It is working in development, but if I sign the apk it crashes at cordova.plugins.barcodeScanner.scan
.
Signed apk works on older versions of Android but it is crashing on 8+.
I can see in logcat;
java.lang.RuntimeException: Unable to start activity ComponentInfo{ my.app/com.google.zxing.client.android.CaptureActivity}: android.content.res.Resources$NotFoundException: File res/raw/beep.ogg from drawable resource ID #0x7f0d0000
meteor@1.8.1
cordova-plugin-barcodescanner@8.0.0
mobile-config.js:
App.configurePlugin(‘cordova.plugins.barcodeScanner’, { ANDROID_SUPPORT_VERSION:‘27.+’ });