Github user JPustkuchen commented on the pull request:
https://github.com/apache/cordova-plugin-inappbrowser/pull/99#issuecomment-207061483
I can confirm that this is really an important feature request. For example
we want to use skype:// and whatsapp:// links within the webview. The problem
is, that loadstart acts async and so even a workaround in the event to prevent
loading the protocol as page is not possible.
A possible and safe solution (from my point of view) could be a new
"beforeloadstart" event which allows to return false and take the url parameter
for custom handling. The url should not be prefixed by http:// like currently
in loadstart. So we can introduce our own custom logic in JS without hacking
the plugin.
What do you think?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]