-
-
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera is showing white screen instead of showing camera in android🐛 #855
Comments
Hmm, are you running the example app without making any modifications? |
Pardon, it was an issue on my side. |
Well this is curious 😅 . Your answer helped me realise that |
Try this one android:hardwareAccelerated=�false in AndroidManifest.xml makes the camera no longer display. Check your AndroidManifest and set it back to true may help the camera work again. |
Ohh yea maybe the SurfaceView doesn't work then? |
Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3. I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here? Here's an instruction on how you can test that: #1674 (comment) If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉 Thank you! |
What were you trying to do?
when I loaded the camera screen it is just showing white blank page.
if I resize camera, it start showing the actual camera screen but whenever I try to give width: ('Dimensions').width, height: ('Dimensions').height camera page is blank once again.
Flash is working fine but don't know why camera page is showing white blank page.
I'm attaching a screenshot below:
Reproduceable Code
What happened instead?
I have pasted the code I'm using.
Kindly correct me if I'm wrong somewhere.
Relevant log output
No response
Device
OPPO F-19, Techno Camon16
VisionCamera Version
^2.12.1
Additional information
The text was updated successfully, but these errors were encountered: