PieterVanPoyer commented on issue #665: URL: https://github.com/apache/cordova-plugin-camera/issues/665#issuecomment-757835110
@maochong513 restarting of the app is normal. That is Android Lifecycle related stuff. Your app must be able to handle restarting the apps when camera is opened without data loss. see: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/#android-quirks en https://cordova.apache.org/docs/en/dev/guide/platforms/android/index.html#lifecycle-guide The result must be in the pendingResult. Before my fix, the app crashed when being restarted when the camera was being processed. ---------------------------------------------------------------- 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]
