-
-
Notifications
You must be signed in to change notification settings - Fork 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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 v4.0.0-beta.13 - Camera.onError(unknown/unknown): already bound to a different lifecycle. #2721
Closed
3 of 5 tasks
Labels
馃悰 bug
Something isn't working
Comments
have you found a fix for this @isinuyk ? |
have the same issue on A9 Samsung no ref found. on 3.9.2 black screen! |
having the same issue on OnePlus5 |
The camera component needs to be unmounted before you can change the camera. Here's a workaround for now:
and add isActive to conditionally render the component:
|
5 tasks
Fixed this issue in #2768. 馃挭 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's happening?
I wanted to flip the camera from the Back to the Front or the vice versa but got this error: Camera.onError(unknown/unknown): Use case Preview:androidx.camera.core.Preview-de4f3173-e76f-49cf-b589-73fab23b84b1 already bound to a different lifecycle.
2024-04-06_22-45-21_Edited.mp4
FYI: the bug isn't reproducible on the latest stable version 3.9.2. So it is a bug only for v4.
Reproduceable Code
Relevant log output
Camera Device
Device
Samsung Galaxy A11
VisionCamera Version
v4.0.0-beta.13
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
The text was updated successfully, but these errors were encountered: