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 2020/07/20 14:30:01 UTC

[GitHub] [cordova-plugin-camera] sirhaplo commented on issue #345: Camera plugin crashes app on some android phones when an image is taken

sirhaplo commented on issue #345:
URL: https://github.com/apache/cordova-plugin-camera/issues/345#issuecomment-661075682


   > My investigations suggest that the use of applicationId is the problem. If the activity has been destroyed and is recreated then applicationId will not be set because it gets set in the execute() method. If I fiddle with the code locally and ensure it gets set within onActivityResult then that problem goes away.
   > 
   > You can recreate this 100% is you set allowEdit to true and on the device change the developer settings to destroy activities.
   
   But this referer to the "allowEdit" branch of the if. If not in allowEdit applicationId is not used.
   With allowEdit the app crash ( maybe for the applicationId as you reporti ) but without the app restart anyway. 
   


----------------------------------------------------------------
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