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

Cordova.exec(..) not working when called from an iframe inside the webview

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Environment:

      IOS, currently testing on iPad mini

      Description

      Cordova.exec(..) not working when called from an iframe inside the web view.

      I could able to see the function Cordova.exec(..) is getting called, but it's not delegating the request to native.

      When i load the same page directly in the web view, it's working properly.
      I couldn't figure out what's the difference between both the scenarios.

      Note: Popup (iframe) is not loosing context after calling cordova.exec(...).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              manchinagarjuna Nagarjuna Manchineni
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: