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

Android 8.0.0 / App restarts when bringing it back from background on physical device

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • cordova@7.0.0
    • None
    • cordova-android
    • Android 8.0.0 on the Google Pixel C tablet, not on phones

    • Important

    Description

      Application Version Chrome
      Chrome 59.0.3071.125

      Operating System
      Android 8.0.0; Pixel C Build / OPP4.170623.014

      Steps to reproduce

      • Open a cordova app on an Android O device (like the Google Pixel C)
      • Send the app to the background
      • Bring the app back to the front

      Expected result
      Like in previous versions of Android the app should be untouched / page should not be reloaded

      Actual result
      Something with chromium goes wrong and the webview restarts.

      Side note
      I have seen the the android activity monitor that chromium is relaunching the page. Chromium itself has the same issue and I opened a bug on their issue tracker : https://bugs.chromium.org/p/chromium/issues/detail?id=751039

      App to test
      We created a git repo where we have a hello world example that we used to prove this case : https://github.com/panisrob/cordova_app

      Recording issue
      We recorded the issue here :
      https://www.youtube.com/watch?v=MJeQM_7NQz8

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            JonasV Jonas Verhaert
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: