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/08/10 12:31:02 UTC

[GitHub] [cordova-plugin-camera] breautek commented on issue #755: App Restart when capture image from camera

breautek commented on issue #755:
URL: https://github.com/apache/cordova-plugin-camera/issues/755#issuecomment-895988231


   > Android uses intents to launch the camera activity on the device to capture images, and on phones with low memory, the Cordova activity may be killed. In this scenario, the result from the plugin call will be delivered via the resume event. See the Android Lifecycle guide for more information. The pendingResult.result value will contain the value that would be passed to the callbacks (either the URI/URL or an error message). Check the pendingResult.pluginStatus to determine whether or not the call was successful.
   
   https://github.com/apache/cordova-plugin-camera#android-quirks
   
   Based on the information provided, this is most likely what you're running into. For the splashscreen, you may have to turn on [SplashShowOnlyFirstTime](https://github.com/apache/cordova-plugin-splashscreen#android-quirks) preference, if you don't want the splashscreen to appear on every launch.
   
   This is an android activity thing that android developers generally have to work with. Unfortunately Cordova cannot solve this quirk. Therefore, closing as won't fix.


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

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