🐛 Android device without a camera
What's happening?
It is enough to run "npm install react-native-vision-camera" on project and the program crashes on an android device without a camera. This is observed even on an emulator without a camera. This leads to the need to assemble 2 different applications (with and without a camera).
Reproduceable Code
npm install react-native-vision-camera
Relevant log output
--------- beginning of system
--------- beginning of main
--------- beginning of crash
Camera Device
empty
Device
anyone without a camera, even an emulator
VisionCamera Version
4.5.3
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
- [ ] I am using Expo
- [ ] I have enabled Frame Processors (react-native-worklets-core)
- [X] I have read the Troubleshooting Guide
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar issues in this repository and found none.
Guten Tag, Hans here! 🍻
I see you are experiencing a crash when using react-native-vision-camera on devices and emulators without a camera. However, ze information provided is a bit limited. It would be helpful to have actual logs showing ze crash details.
Please gather logs using adb logcat on your Android device or emulator, and share ze output here. This will help mrousavy to diagnose ze issue better.
Danke for your understanding and for contributing to ze project!
Note: If you think I made a mistake, please ping
@mrousavyto take a look.
Fixed in 4.6.3