You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Srutha Keerthi (JIRA)" <ji...@apache.org> on 2017/12/06 10:31:01 UTC

[jira] [Created] (CB-13640) Cordova Activity gets killed when heavy load on Android OS

Srutha Keerthi created CB-13640:
-----------------------------------

             Summary: Cordova Activity gets killed when heavy load on Android OS
                 Key: CB-13640
                 URL: https://issues.apache.org/jira/browse/CB-13640
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-android
    Affects Versions: 7.0.2
         Environment: Android 
            Reporter: Srutha Keerthi
            Assignee: Joe Bowser
             Fix For: 7.0.2


In any cordova android application, from a cordova activity, if any other activity (like Camera or File) is opened and the resource usage is heavy(when there are other downloads and streaming and games running on the mobile device), the Cordova Activity is being killed by the Android OS. Due to this, when the other activity returns after its completion, it does not find the Cordova Activity and this is causing the app to crash. This scenario can be recreated by running the sample app with the setting 'Don't keep Activities' turned on.

Is there some way to ensure that the Cordova Activity is not killed by the OS?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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