You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
Currently, the react-native-camera module has an issue where the preview will render correctly the first time an emulator boots up, but then it will just show a black screen on all subsequent renders. I don't believe this is an issue on physical devices but can't test that theory.
The likely cause of this error is that react-native-camera doesn't deal well with multiple cameras or emulators. It is recommended that you unmount the <RNCamera/> component every time its screen loses focus, which we actually do. You can see the native errors being caused by running
$ adb logcat | grep camera
Attempt to fix this issue on emulators, or ensure that it is not a problem on any physical devices.
The text was updated successfully, but these errors were encountered:
Currently, the
react-native-camera
module has an issue where the preview will render correctly the first time an emulator boots up, but then it will just show a black screen on all subsequent renders. I don't believe this is an issue on physical devices but can't test that theory.The likely cause of this error is that
react-native-camera
doesn't deal well with multiple cameras or emulators. It is recommended that you unmount the<RNCamera/>
component every time its screen loses focus, which we actually do. You can see the native errors being caused by running$ adb logcat | grep camera
Attempt to fix this issue on emulators, or ensure that it is not a problem on any physical devices.
The text was updated successfully, but these errors were encountered: