cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémi Couturier (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CB-7787) some issues with "offline" and "online" method "Network information" plugin (Android)
Date Wed, 08 Apr 2015 18:11:13 GMT

    [ https://issues.apache.org/jira/browse/CB-7787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485652#comment-14485652
] 

Rémi Couturier edited comment on CB-7787 at 4/8/15 6:10 PM:
------------------------------------------------------------

Hi, I'm seeing this issue too.
cordova: 4.3.0
org.apache.cordova.network-information: 0.2.15

By the way, thanks Raymond for the tip: http://www.raymondcamden.com/2015/01/13/phonegap-onlineoffline-tip-2


was (Author: welovewebdesign):
Hi, I'm seeing this issue too.
cordova: 4.3.0
org.apache.cordova.network-information: 0.2.15

> some issues with "offline" and "online" method "Network information" plugin (Android)
> -------------------------------------------------------------------------------------
>
>                 Key: CB-7787
>                 URL: https://issues.apache.org/jira/browse/CB-7787
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Network Information
>    Affects Versions: 3.7.0, 3.6.3
>         Environment: phonegap 3.7.1 with all latest plugin
> ios 8.1.3
> winphone 8.1
> Android 4.4.2
> all real machine
>            Reporter: Colin Bau
>              Labels: event
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> [android issues] (trigger twice or more times)
> document.addEventListener("offline", yourCallbackFunction, false);
> document.addEventListener("online", yourCallbackFunction, false);
> trust me...just try these step...
> turn off your network,it will trigger the "offline" method and only once time,good
!!
> but after it,turn on your network,it will trigger the "online" method but two times,if
execute again (turn off and turn on again),it will trigger "online" method but two or more
times
> a issue exist in stackoverflow too !!! (although I am already use the phonegp 3.7.1)
> http://stackoverflow.com/questions/23871626/phonegap-3-4-bug-with-event-online-offline




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message