Open HerickRaposo opened 3 years ago
Are you able to fix this issue ? I am also getting the same issue in Android 11
Unfortunately no. I did everything to solve it but didn't make any progress
Facing the same issue.
Try android:hardwareAccelerated="true", with false it's not working
What's happening?
Hello everyone, how are you, in my project using a webview that includes actions performed from the change of state of the url. when necessary, the qr code reading function is triggered, activating the visibility of the modal where the scanner is. Many times when loading the component, the camera screen goes black, preventing the scanner.
I've tried solutions like useIsFocusd but without success. Note that user permissions have already been granted. Usually the problem shows up on the first run after giving permission, but this is not a rule
How can it be reproduced?
For to test i used Xiaomi Redmi Note 9t, Mi 8 Lite and Moto G7 Play To reproduce it will be necessary to use the following code:
App code:
Class Permissions Code:
Build details?
OS:Android react: "17.0.1", react-native: "0.64.2", "@react-navigation/native": "^5.9.8", "@react-navigation/stack": "^5.14.9", "react-native-camera": "^4.0.3", "react-native-permissions": "^3.0.5", "react-native-qrcode-scanner": "^1.5.4", "react-native-webview": "^11.13.0"