[ 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