Closed q9liyan closed 7 months ago
Android 11
which phone?
Android 11
which phone?
honor play5 android 12
Same here, xiaomi redmi note 10. Delaying the setIsCameraInitialized(true); for 2000 ms works, but seems hacky.
3.6.16 works.
Is there nothing being logged after those logs for multiple seconds? This seems weird..
Working on a fix for this issue here: https://github.com/mrousavy/react-native-vision-camera/pull/2494 👀
Still in development, so don't test yet. Long way to go, this is a really complicated issue (as you can see in the changes/Files of that PR)...
Just released VisionCamera 3.9.0-beta.1, which includes the big PersistentCaptureSession
PR that aims to fix all the blackscreen issues.... :eyes::tada:
You can try that new beta out yourself and let me know if you still encounter blackscreen issues. I'll continue to test on more devices in the meantime, organize the code a bit better, and then I'll tackle the preview stretching, focus, and flash issues!
If that fixes the blackscreen issues for you, please consider sponsoring me on GitHub to say thanks! ❤️
What's happening?
Navigation.navigate ('CodeScannerPage ') method will not immediately work when entering the scanning page. If the screen is locked and the page is re-entered from the background, it will trigger an update to initiate scanning recognition
pdating CameraSession Configuration...
Reproduceable Code
Relevant log output
Camera Device
Device
Android 11
VisionCamera Version
3.6.17
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information