You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/12/18 14:20:13 UTC

[jira] [Commented] (CB-2082) iframe force close the app in android when no network connection

    [ https://issues.apache.org/jira/browse/CB-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534878#comment-13534878 ] 

Joe Bowser commented on CB-2082:
--------------------------------

BTW: This has nothing to do with the connection to the server unless you have a proxy changing headers for you.
                
> iframe force close the app in android when no network connection
> ----------------------------------------------------------------
>
>                 Key: CB-2082
>                 URL: https://issues.apache.org/jira/browse/CB-2082
>             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(http://www.google.com).' and app force close.Please guide me.Its very urgent requirement.
> Here is my code:
> var iframe = document.createElement("IFRAME");
> iframe.setAttribute("src", "http://www.google.com");
> $("#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: http://www.atlassian.com/software/jira