Matthew Keable created CB-8818:
----------------------------------
Summary: Samsung Galaxy S3 - Intents to other apps
Key: CB-8818
URL: https://issues.apache.org/jira/browse/CB-8818
Project: Apache Cordova
Issue Type: Bug
Components: Android
Reporter: Matthew Keable
Device: Samsung Galaxy S3
OS: Android 4.3
In the Media Capture Plugin, after a successful video recording the user is
given the option to play the video back. Doing so opens the video player app.
On return to the Cordova app, the webview is restarted losing its state.
In the Camera plugin, if you allow the user to edit the photo, the editing
takes place in a photo app. On return to the Cordova app, the webview is
restarted losing its state.
This seems to be a pattern for the Galaxy S3. I'm currently unable to test on
other Samsung devices. They appear to have very aggressive memory management,
stopping the Cordova app as soon as the 3rd party app opens.
While I can maintain state tracking in localStorage and reload the screen that
the user was last viewing there is a bigger problem. Because Cordova is
rebooting when the intent returns, there is nothing to receive the data and the
information is lost.
I've tried multiple solutions including setting android:alwaysRetainTaskState
to true, but I am unable to overcome this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]