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

   If the activity gets killed during `getPicture` call (while the camera 
application is open), it's callback won't get called.
   
   When the activity gets reloaded it requires reconstructing the webview, 
which means your web app will also be re-loaded. The JS state is not restored.
   
   The response will be available inside the `resume` event however.
   
   This is likely the case. You can forcefully test this case by enabling 
developer options on the android device and then enable the `Don't Keep 
Activities` option in the Developer settings. With this enabled, the OS will 
always kill the activity when the Camera intent starts, allowing you to test 
the that quirk. It's part of normal android behaviour, so it's something that 
developers are expected to handle.
   
   This bug report sounds like this is the situation. @Lerolben were you able 
to confirm this?


-- 
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-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to