cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Resolved] (CB-2082) iframe force close the app in android when no network connection
Date Tue, 18 Dec 2012 13:20:12 GMT


Joe Bowser resolved CB-2082.

    Resolution: Won't Fix

This isn't a bug, this is Google enforcing their policy on iFrames.  You can't create an app
with an iFrame to Google.  While I have never heard of it crashing an app, I have seen this
error before on Android.

Here's more info on why you can't create an iFrame with Google in it on Stack Overflow:
> iframe force close the app in android when no network connection
> ----------------------------------------------------------------
>                 Key: CB-2082
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android-2.2 and 4.0
> cordova-2.1.0
> jquery mobile -1.2.0
>            Reporter: mohanapriya
>            Assignee: Joe Bowser
>              Labels: android, phonegap
>   Original Estimate: 5h
>  Remaining Estimate: 5h
> I have used iframe to open the webpage in my android phonegap app.When the iframe is
open and suddenly if the network connection fails then it showing the error as 'A secure connection
could not be established(' and app force close.Please guide me.Its
very urgent requirement.
> Here is my code:
> var iframe = document.createElement("IFRAME");
> iframe.setAttribute("src", "");
> $("#IframeDiv").append(iframe);

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