Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7747 Extract whitelist functionality into a plugin
  3. CB-7897

Update InAppBrowser plugin to handle whitelist plugins

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The Android code in InAppBrowser which detects whether a window.open() call can be opened in the main Cordova WebView relies on the removed Config.isUrlWhiteListed method.

      In order to maintain compatibility with both 3.x and 4.x branches, some reflection is required. The Config class does not have enough context, even in the new branch, to answer that question for the purposes of InAppBrowser.

      iOS is not affected, it already correctly calls [self.commandDelegate URLIsWhitelisted:url].

      Attachments

        Activity

          People

            iclelland Ian Clelland
            iclelland Ian Clelland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: