incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CB-164) On location.reload(), onDeviceReady() function is not firing in Android
Date Thu, 19 Apr 2012 16:18:42 GMT

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

Joe Bowser edited comment on CB-164 at 4/19/12 4:17 PM:
--------------------------------------------------------

The webview error is a red herring and is from loadUrlIntoView, which actually isn't called
at all when you use location.reload().  I recommend adding logs to the callback server and
seeing what is being passed out and whether it makes it.  The onCordovaConnectionReady is
being called, and is coming back out, but it's not actually being read it seems.
                
      was (Author: bowserj):
    The webview error is a red herring and is from loadUrlIntoView, which actually isn't called
at all when you use location.reload().  I recommend adding logs to the callback server and
seeing what is being passed out and whether it makes it.  
                  
> 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