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].