cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffroy Gomet (JIRA)" <>
Subject [jira] [Created] (CB-8347) Github pull request: Fixing early calls connection state
Date Thu, 22 Jan 2015 10:50:34 GMT
Geoffroy Gomet created CB-8347:

             Summary: Github pull request: Fixing early calls connection state
                 Key: CB-8347
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Network Information
         Environment: Browser
            Reporter: Geoffroy Gomet
            Priority: Minor

Our application requests directly "startup values" over an ajax connection.
In the current browser implementation, the network-information plugin always returns "offline"
(Conection.None), as the ajax request for has not returned yet.
It is only after a short time that the ajax call returns and give the correct network state.

We propose the callback to be called when the call is finished, to avoid returning an incorrect
network state (before evaluation).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message