Embedding Native Android CameraX in React native always shows black screen #292
Unanswered
BraveEvidence
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to embed a Native Android View in my React Native application, i am using the new architecture
So here is my sample code
Now the problem is i don't see the Camera, the button occupies entire width and height if the screen, Now when i use the same code in Native Android it works absolutely fine
Clone this repo
Now I decided to refactor the code to remove ConstraintLayout
I tried doing following things as well
Tried using relativelayout as well but still the Preview is not available and all I see is a black screen.
The camera permission is given properly , when I try to use the same code in Native Android app it works fine
Beta Was this translation helpful? Give feedback.
All reactions