You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/01/02 14:19:42 UTC

[GitHub] [cordova-plugin-camera] PieterVanPoyer commented on issue #665: App crashes randomly after taking a picture with the camera

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org