-
Notifications
You must be signed in to change notification settings - Fork 1.4k
App crashes just after camera preview is shown (Android 6) #609
Comments
@Giriton yeah, that crash is coming from deep inside the ZXing library the plugin uses for decoding barcodes. |
@macdonst I see, thank you for clarification. As far as I found out, this plugin uses barcodescanner-release-2.1.5.aar form here https://github.com/EddyVerbruggen/barcodescanner-lib-aar , correct? On that page, @EddyVerbruggen says: However that version 4.7.6 is from September 2016. Current newest version 4.7.7 is from October 2017. So my question is, is it possible to perhaps update version of BS (Barcode Scanner) used from ZXing to current 4.7.7 ? In ZXyng, there is a commit that did something around this very row, where the error appears from: So updating Barcode Scanner.aar would update also ZXyng engine used in Barcode Scanner.aar and if problem persist, I know it is still not fixed problem of ZXyng. In that case I can open issue there. Until then, I can not be sure whether the mentioned commit was or was not included in currently used 4.7.6. Hope it makes a sense :-) |
One of my users is facing a similar issue with ZXing library and the crash log looks similar to what you have mentioned. Would love to see if there is any update on this issue. |
I have detected a similar error on a device with android 7. Camera error after opening. |
Same here, only my app crashes immediately after i open scanner |
same here |
Also on windows 8.1 this issue |
@michielsebille , as for the comment about Windows, we were getting the same behavior but were able to get around it by creating a published version. In VS go to Project/Store/Create App Packages. A regular release build would pop up and instantly crash, but having not looked at an error log I can't say if it is related. |
Same here, too. |
I really need this barcode scanner works on Android 6, at least!!! |
I have same problem. |
Expected Behaviour
Camera preview opens, i see myself (in front camera) until I use a QR code.
Actual Behaviour
Camera preview opens, i see myself (in front camera) for 0.5 second, the whole app crashes.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
formats: "QR_CODE"
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 6.0
Cordova CLI version and cordova platform version
Plugin version
Logs taken while reproducing problem
(full logcat with other info about camera and formats selected are in attached here
errorLog.txt
)
The text was updated successfully, but these errors were encountered: