incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Resolved] (CB-1529) 'deviceready' event is not fired when loading a remote page in webview
Date Tue, 25 Sep 2012 03:53:08 GMT


Andrew Grieve resolved CB-1529.

    Resolution: Duplicate
      Assignee: Andrew Grieve

Let's focus comments on
> 'deviceready' event is not fired when loading a remote page in webview
> ----------------------------------------------------------------------
>                 Key: CB-1529
>                 URL:
>             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:

View raw message