-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
🐛 Front camera in the example app crashes #1796
Comments
Also got this crash:
|
Stock camera app works fine though. |
|
Can you try removing those 25 lines: react-native-vision-camera/package/android/src/main/java/com/mrousavy/camera/core/CameraSession.kt Lines 436 to 460 in 4e96eb7
And see what happens? |
It still crashes. I tried removing |
try to delete zoom as prop from and use only animatedProps |
Hey, thanks for the detailed bug report. Is this related to #1801 ? |
The issue you mentioned looks exactly like this one, although I tried commenting out the code you mentioned and - with the code at that time - it still kept crashing. I'll test on the latest commit when I have time. |
Hey! Quick update: I think there could be four problems here:
|
I think i just fixed this in #2049, and released it to npm (v3.6.0) 🎉 Please try this and let me know if this is still an issue. If you appreciate my work and dedication to fix your issues and make VisionCamera better, please 💖 consider sponsoring me on GitHub 💖 to say thanks. Thanks! |
What's happening?
Black screen after pressing the "switch camera" button in the top right.
Reproduceable Code
`packages/example`
Relevant log output
logcat
Camera Device
json
Device
Xiaomi Mi 6
VisionCamera Version
main
Can you reproduce this issue in the VisionCamera Example app?
Additional information
The text was updated successfully, but these errors were encountered: