Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13640

Cordova Activity gets killed when heavy load on Android OS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 7.0.0
    • None
    • cordova-android
    • None
    • Android

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              bowserj Joey Robert Bowser
              sruthakeerthik Srutha Keerthi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: