PieterVanPoyer commented on issue #665: URL: https://github.com/apache/cordova-plugin-camera/issues/665#issuecomment-753479003
Hi There is indeed a scenario that results in a NullPointerException and crashes the Android plugin. I did make a change to plugin code, you can test it with next commands. I did only corrected the Android failure. You can install and test the plugin (on Android) with next command. ```` npx cordova plugin remove cordova-plugin-camera npx cordova plugin add https://github.com/PieterVanPoyer/cordova-plugin-camera/#bugfix/issue-665-save-instance-restore-bug ```` You could test it with next reproduction repo: https://github.com/PieterVanPoyer/cordova-camera-plugin-testing-app Kind regards Pieter ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
