incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-164) On location.reload(), onDeviceReady() function is not firing in Android
Date Thu, 19 Apr 2012 19:48:41 GMT

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

Filip Maj resolved CB-164.
--------------------------

    Resolution: Fixed

Resolved by changing Network plugin to synchronous (from async). The actual {{exec}} flow
within the plugin does not need to be async (I'm pretty sure - correct me if I'm wrong there).
Some combination of using {{setKeepCallback(true)}} on a PluginResult that returns immediately
+ running the plugin's {{exec}} method on a different thread (async) causing the issue.

Fixed in [31d5a9|http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=commit;h=31d5a94ea917fc0147a18435a458630d0ff2181b].
                
> 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