incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-164) On location.reload(), onDeviceReady() function is not firing in Android
Date Fri, 20 Apr 2012 00:28:40 GMT

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

Simon MacDonald commented on CB-164:
------------------------------------

Cool, I've tried it out on my side and everything is back to working. The on/offline events
fire and navigator.network.connection.type is being set properly as you move from network
type to network type. I'm not 100% sold on changing this to sync but a) it fixes the bug and
b) the initial call into the NetworkManager does a:

    NetworkInfo info = sockMan.getActiveNetworkInfo();

which should be pretty fast. This change is early enough in the 1.7.0 that we should be able
to give it lots of soak time. 
                
> On location.reload(), onDeviceReady() function is not firing in Android
> -----------------------------------------------------------------------
>
>                 Key: CB-164
>                 URL: https://issues.apache.org/jira/browse/CB-164
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.3.0
>            Reporter: Simon MacDonald
>            Assignee: Filip Maj
>             Fix For: 1.7.0
>
>
> When the page is loaded onDeviceready() function is fired ,
> when i tried to reload the page using location.reload() it is not
> fired.
> Note : It is working fine when i used PhoneGap-0.9.5.js

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