[
https://issues.apache.org/jira/browse/CB-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506126#comment-13506126
]
Simon MacDonald commented on CB-1856:
-------------------------------------
Hey Joe, there is a delay on the JS side when it receives and offline event for
exactly the situation you are talking about. We notice when going from 3G/4G to
Wifi there would be a short period where the device is offline but there is no
point sending that offline event since the app will be online again before the
app can react.
> Offline Event fires twice on Jellybean
> --------------------------------------
>
> Key: CB-1856
> URL: https://issues.apache.org/jira/browse/CB-1856
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.3.0
> Environment: Neuxs 7 running Android 4.2
> Reporter: Joe Bowser
> Assignee: Joe Bowser
> Priority: Minor
> Fix For: 2.4.0
>
>
> While testing CB-1846, I discovered that the Offline and Online events are
> being called twice on my Galaxy Nexus and my Nexus 7. The Samsung Galaxy S2
> and the Nexus S that I tested are working as expected. We ideally should
> only fire this event once when we switch WiFi on and off.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira