-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Barcode Scanning Overlay fails to open on Android 11 #29
Comments
HI @tenglandct This is a recommendation from an android a long time ago, but up until android 11, it was still working. However in your application open AndroidManifest.xml and make this change to ScannerActivity Regards, |
We just released a new version phonegap-manateeworks-v3 3.1.4 and the issue is resolved. Please make a test with the new release and if everything is fine please close the issue. Regards, |
Great! Thanks Lazar, I will test now |
Hi guys, confirmed working on some test devices that we have - many thanks! |
Hi,
This plugin does not appear to work on Android 11.
Calling the startScanning method launches the scanner activity but the user is just left with a black screen. The user is able to quit back to the app by using the back button and continue using the app without any issue but the scanning functionality simply does not function.
This has been reported by a customer using Samsung S20 and also I have replicated using Browserstack and Android 11 devices available there.
Initially I noticed logcat info around missing the SYSTEM_ALERT_WINDOW permission (which is a change in Android 11), but having manually added a uses-permission for this to the Android Manifest through the config.xml, the behaviour is the same but there no longer a warning (i.e. I believe the permission has been applied correctly but has not had the desired result)
Regards
The text was updated successfully, but these errors were encountered: