You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kuan Yi Ming (JIRA)" <ji...@apache.org> on 2013/10/22 16:19:43 UTC

[jira] [Created] (CB-5149) iOS first run online/offline events broken

Kuan Yi Ming created CB-5149:
--------------------------------

             Summary: iOS first run online/offline events broken
                 Key: CB-5149
                 URL: https://issues.apache.org/jira/browse/CB-5149
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.1.0
         Environment: iOS 6 and 7
            Reporter: Kuan Yi Ming


The code samples at http://cordova.apache.org/docs/en/3.1.0/cordova_events_events.md.html#online do not longer work. Same with offline.

When the app is first launched using PhoneGap 2.2 to 2.9, the online or offline event (where applicable) triggers before the deviceready event. In 3.1.0, this no longer happens on iOS... the event only fires when the user maually turns on data in the settings.



--
This message was sent by Atlassian JIRA
(v6.1#6144)