You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Zarko Hristovski (JIRA)" <ji...@apache.org> on 2014/06/19 19:06:24 UTC

[jira] [Created] (CB-6984) requestFileSystem does not always return after document reload

Zarko Hristovski created CB-6984:
------------------------------------

             Summary: requestFileSystem does not always return after document reload
                 Key: CB-6984
                 URL: https://issues.apache.org/jira/browse/CB-6984
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File
    Affects Versions: 3.5.0
         Environment: Experienced on Android Nexus 5
File plugin 1.2.0
            Reporter: Zarko Hristovski
         Attachments: fsreload.zip

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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)