In file AppBrowser.java: New code within shouldOverrideUrlLoading() to
check for whitelisting custom schemes via a new "AllowedSchemes" preference configuration item. Allows custom schemes like "mycoolapp://" or "wevotetwitterscheme://" In file inappbrowser.js: Added new "customscheme" channel.
This commit is contained in:
parent
27500c2990
commit
42df297724
@ -1256,4 +1256,4 @@ public class InAppBrowser extends CordovaPlugin {
|
||||
super.onReceivedHttpAuthRequest(view, handler, host, realm);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -36,8 +36,8 @@
|
||||
'loadstart': channel.create('loadstart'),
|
||||
'loadstop': channel.create('loadstop'),
|
||||
'loaderror': channel.create('loaderror'),
|
||||
'customscheme': channel.create('customscheme'),
|
||||
'exit': channel.create('exit')
|
||||
'exit': channel.create('exit'),
|
||||
'customscheme': channel.create('customscheme')
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user