incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aurelien MERCIER (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CB-842) Offline event fired without special reasons
Date Wed, 27 Jun 2012 18:26:44 GMT

     [ https://issues.apache.org/jira/browse/CB-842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aurelien MERCIER reopened CB-842:
---------------------------------


I thought it fixes the issue, but we still have this problem on Nexus One and Original Galaxy.
It's not easy to repro but it seems sometime the network connection on android is messed up
and navigator.network.connection.type stay equals to Connection.NONE. As mentioned in the
post, I tried different timeout but the problem remains...
                
> Offline event fired without special reasons
> -------------------------------------------
>
>                 Key: CB-842
>                 URL: https://issues.apache.org/jira/browse/CB-842
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.7.0
>            Reporter: Aurelien MERCIER
>
> The event is fired whereas I'm connected to wifi. Putting some logs in offline method,
I see that navigator.network.connection.type is NONE and navigator.onLine is true.
> Ps: it seems it appears after loading a page...
> Right now I've added extra test in offline method to be sure it has been called whereas
there is really no connection available.

--
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

        

Mime
View raw message