InAppBrowser.java: New method isURLWhileListed to check for whitelisting.
Newtest in shouldOverrideUrlLoading, to allow whitelisted custom schemes like"mycoolapp://" inappbrowser.js: Added "customscheme" channel.
This commit is contained in:
parent
44d9bb0f6a
commit
a6c7b54998
@ -285,7 +285,7 @@ public class InAppBrowser extends CordovaPlugin {
|
|||||||
* Previously the Config class had a static method, isUrlWhitelisted(). That
|
* Previously the Config class had a static method, isUrlWhitelisted(). That
|
||||||
* responsibility has been moved to the plugins, with an aggregating method in
|
* responsibility has been moved to the plugins, with an aggregating method in
|
||||||
* PluginManager.
|
* PluginManager.
|
||||||
*/
|
*
|
||||||
* @param url, the URL as a String
|
* @param url, the URL as a String
|
||||||
* @return true if WhiteListed, otherwise null or false
|
* @return true if WhiteListed, otherwise null or false
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user