-
Notifications
You must be signed in to change notification settings - Fork 612
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 Plugin crashes app on restoreState (NullPointerException) #658
Comments
This issue may need more information before it can be addressed. In particular, it will need a reliable Code Reproduction that demonstrates the issue. Please see the Contributing Guide for how to create a Code Reproduction. Thanks! |
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot. Have a great day! |
I see the same error in production with > 100 occurences, but I'm also unable to reproduce the issue. @dnarvaez27 did you find any workaround? |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out. |
Bug Report
Plugin(s)
Capacitor Version
Platform(s)
Current Behavior
We have seen crashes in production related to a NullPointerException on the restoreState of the CameraPlugin. The setup for the Camera is the following:
Expected Behavior
Able to take a photo with the camera or pick a photo with no problem.
Code Reproduction
N/A
Other Technical Details
N/A
Additional Context
Works perfect when testing on our phones, but there has been more than 200 crashes in production in the last three days with the following stack trace:
This is happening for android versions 7.0 7.1, 8.0, 8.1, 9, 10, 11.
The text was updated successfully, but these errors were encountered: