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 D097D9B8E for ; Tue, 25 Sep 2012 03:53:09 +0000 (UTC) Received: (qmail 63127 invoked by uid 500); 25 Sep 2012 03:53:09 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 63055 invoked by uid 500); 25 Sep 2012 03:53:08 -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 63027 invoked by uid 99); 25 Sep 2012 03:53:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 03:53:08 +0000 Date: Tue, 25 Sep 2012 14:53:08 +1100 (NCT) From: "Andrew Grieve (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1846260156.120413.1348545188589.JavaMail.jiratomcat@arcas> In-Reply-To: <63772755.116228.1348485247569.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CB-1529) 'deviceready' event is not fired when loading a remote page in webview MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-1529. ------------------------------- Resolution: Duplicate Assignee: Andrew Grieve Let's focus comments on https://issues.apache.org/jira/browse/CB-1525 > 'deviceready' event is not fired when loading a remote page in webview > ---------------------------------------------------------------------- > > Key: CB-1529 > URL: https://issues.apache.org/jira/browse/CB-1529 > Project: Apache Cordova > Issue Type: Bug > Affects Versions: 2.1.0 > Environment: ios 5, xcode 4.4.1 > Reporter: Sakari Jokinen > Assignee: Andrew Grieve > > I'm trying to create a wrapper app for iOS that would just load our built html, js, etc assets from a server to the device instead of us having to build the xcode project and distribute that. This would be used only for our internal development and debugging ie, I'm aware that this will not be accepted to the app store. > > In my xcode cordova project I have an index.html that just reloads a page from a remote server in the webview. The remote page includes the script tag to load the cordova.js. With cordova 1.7.0 everything works but with cordova 2.1.0 I do not get the 'deviceready' event. > If I change the 'bridgeMode' to 'IFRAME_NAV' in the cordova.js the 'deviceready' event is fired, but then of course the input events are broken. I suspect that the problem is with file:// protocol not being allowed for remote pages while gap:// is allowed. > Is there a workaround for getting both working or any other way to satisfy our needs? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira