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

requestFileSystem does not always return after document reload

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.5.0
    • None
    • cordova-plugin-file
    • None
      • Experienced on Nexus 5 smartphone ( Android 4.4.3 )
      • File plugin 1.2.0

    Description

      Once in a while we need to reload the application ( document ) because a part of it is dynamic - downloaded from a server and injected into the app.

      The problem is that sometimes and quite often, our app won't be able to compete its initialization since requestFileSystem neither succeeds nor fails, it just hangs there. This happens after location.reload(). It seems like some sort of timing issue and the number of attempts does not actually matter.

      I'll include a slightly modified "hello world" app that should show the problem.

      This doesn't seem to affect iOS.

      Attachments

        1. fsreload.zip
          27 kB
          Zarko Hristovski

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zarko Zarko Hristovski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: