Skip to content
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

🐛 Android device without a camera #3239

Open
3 of 5 tasks
kolodezny opened this issue Oct 11, 2024 · 1 comment
Open
3 of 5 tasks

🐛 Android device without a camera #3239

kolodezny opened this issue Oct 11, 2024 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@kolodezny
Copy link

kolodezny commented Oct 11, 2024

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

@kolodezny kolodezny added the 🐛 bug Something isn't working label Oct 11, 2024
Copy link

maintenance-hans bot commented Oct 11, 2024

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 @mrousavy to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant