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:
stevepodell
2018-04-04 08:22:23 -07:00
parent 3f0528c380
commit 44d9bb0f6a
2 changed files with 63 additions and 26 deletions
+1
View File
@@ -36,6 +36,7 @@
'loadstart': channel.create('loadstart'),
'loadstop': channel.create('loadstop'),
'loaderror': channel.create('loaderror'),
'customscheme': channel.create('customscheme'),
'exit': channel.create('exit')
};
}