incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-98) iframe dynamically generated in javascript opens safari on iOS with PG 1.2.0
Date Mon, 06 Feb 2012 23:29:01 GMT


Shazron Abdullah commented on CB-98:

As of 1.3.0, there is a PhoneGap.plist setting "OpenAllWhitelistURLsInWebView" that you can
set to true, and this should now work.
> iframe dynamically generated in javascript opens safari on iOS with PG 1.2.0
> ----------------------------------------------------------------------------
>                 Key: CB-98
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.1.0
>         Environment: Mac OS X Lion
> Xcode 4.2.1
> PhoneGap 1.2.0
>            Reporter: Patrick Frye
>            Assignee: Shazron Abdullah
>              Labels: iframe, innerHTML, ios, javascript, safari
>             Fix For: 1.3.0
> I'm uncertain if my issue is related to this one:
> Comments in other threads indicated this issue was supposedly fixed in 1.2.0? Like the
poster in the above thread my ExternalHosts has a string with "*". I generate via javascript
and innerHTML the iframe HTML5 code because I want the window to switch between pages based
upon in-App buttons. The code works perfectly with Android (see the news and events pages
on Space Coast Mobile Directory on Android Market to see what I'm doing).
> The code for my app, within a javascript:
> document.getElementById("newsFrame").innerHTML = "<iframe src='"
+ curPage + ".html' scrolling='no' class='ne'></iframe>";
> Within the body:
> <div id="newsFrame" style="text-align:center;"></div>
> P.S. The "Affects Verion/s" dropdown didn't have an option for 1.2.0

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message