[
https://issues.apache.org/jira/browse/CB-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433483#comment-13433483
]
Shazron Abdullah commented on CB-1227:
--------------------------------------
How are you testing this? ie how are you visually notifying yourself of the
online, offline events? alert() or writing to the DOM?
> 'resume' event is not fired after WiFi is turned on/off when listening to
> 'online' or 'offline' events.
> -------------------------------------------------------------------------------------------------------
>
> Key: CB-1227
> URL: https://issues.apache.org/jira/browse/CB-1227
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 1.9.0
> Reporter: Gene Connolly
> Assignee: Shazron Abdullah
>
> When listening for 'online' and 'offline' events in an iOS cordova app, if
> you navigate to the device's settings app, turn on or off the WiFi (toggle),
> when you return to the cordova app it will be frozen.
> Notes: If you navigate away from the app again and return it will respond. If
> you are only listening to 'online' then the issue will only occur when you
> turn the WiFi for a device on. Opposite applies for 'offline'.
> This issue is best demonstrated by a simple app that sends notifications on
> 'online' 'offline' and 'resume'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira