Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2082

iframe force close the app in android when no network connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.2.0
    • None
    • cordova-android
    • Android-2.2 and 4.0
      cordova-2.1.0
      jquery mobile -1.2.0

    Description

      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);

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            mohanapriyaasai mohanapriya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5h
                5h
                Remaining:
                Remaining Estimate - 5h
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified