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

   Can you share a full stacktrace or logcat logs for your app starting 
approximately from the `getPicture` call?
   
   Are you sure that the activity simply isn't being closed (which is an 
[documented 
behaviour](https://github.com/apache/cordova-plugin-camera?tab=readme-ov-file#android-quirks)
 and should be expected)? If this the case, the camera app should work properly 
and it will write the result to disk. When the camera activity closes and 
returns to your app, the app's activity needs to be recreated, which means the 
webview needs to be recreated and reloaded. When this happen the result will be 
supplied in the `resume` event.
   
   ```
   2024-11-06 11:21:18.432 29632-29784 cr_ChildProcessConn     [APP_NAME]       
            W  onServiceDisconnected (crash or killed by oom): pid=29786 
bindings:W  S
   2024-11-06 11:21:18.671 29632-29632 chromium                [APP_NAME]       
            E  [ERROR:aw_browser_terminator.cc(165)] Renderer process (29786) 
crash detected (code -1).
   ```
   
   Could just be a side effect of the activity closing.


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