Ian Clelland created CB-7897:
--------------------------------
Summary: Update InAppBrowser plugin to handle whitelist plugins
Key: CB-7897
URL: https://issues.apache.org/jira/browse/CB-7897
Project: Apache Cordova
Issue Type: Sub-task
Components: Plugin InAppBrowser
Reporter: Ian Clelland
Assignee: Ian Clelland
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\]}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]