You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
I've been using this package for the last three months in my app and it's been working perfectly. Opening a view with a <camera> component in it accesses the camera, recording works fine and I'm able to do what I want with the recording afterwards.
Actual behaviour
In the last few days this behaviour has changed and I can't figure out why. When I first launch my app after clearing all data, I can navigate into my view containing a <camera> component. When I start to try record, I get a standard android message that the app has crashed. There's no JS logging or Logcat logging appearing for this that I can see.
When I open my app again, I'm unable to navigate into the view containing the <camera> component. The render method of the view gets called, but nothing changes on screen unless I remove the <camera> component. When I try to navigate to the view the app just hangs at that point until I get a standard android message saying it's not responding and asking if I'd like to close it. Again, no logs that I can see.
If anyone has any thoughts it'd be much appreciated.
I have the same problem and I'm on my way to try to find a temporal solution.
The problem is caused because android, on the newer versions (+5.0 (API lvl 21) ) has changed all classes about camera as it is explained here: Android Camera API
Expected behaviour
I've been using this package for the last three months in my app and it's been working perfectly. Opening a view with a
<camera>
component in it accesses the camera, recording works fine and I'm able to do what I want with the recording afterwards.Actual behaviour
In the last few days this behaviour has changed and I can't figure out why. When I first launch my app after clearing all data, I can navigate into my view containing a
<camera>
component. When I start to try record, I get a standard android message that the app has crashed. There's no JS logging or Logcat logging appearing for this that I can see.When I open my app again, I'm unable to navigate into the view containing the
<camera>
component. The render method of the view gets called, but nothing changes on screen unless I remove the<camera>
component. When I try to navigate to the view the app just hangs at that point until I get a standard android message saying it's not responding and asking if I'd like to close it. Again, no logs that I can see.If anyone has any thoughts it'd be much appreciated.
Environment
react-native-camera
Version: 0.12.0
The text was updated successfully, but these errors were encountered: