Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E68197BC for ; Thu, 19 Apr 2012 16:19:07 +0000 (UTC) Received: (qmail 55254 invoked by uid 500); 19 Apr 2012 16:19:07 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 55209 invoked by uid 500); 19 Apr 2012 16:19:06 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 55103 invoked by uid 99); 19 Apr 2012 16:19:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 16:19:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 16:19:02 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 713A53A3A11 for ; Thu, 19 Apr 2012 16:18:42 +0000 (UTC) Date: Thu, 19 Apr 2012 16:18:42 +0000 (UTC) From: "Joe Bowser (Issue Comment Edited) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1029836475.6464.1334852322465.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <185514292.22427.1326134919440.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (CB-164) On location.reload(), onDeviceReady() function is not firing in Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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