“err_unknown_url_scheme” error when using WebViewer

I am a newbie in appinventor, i have a web app that im trying to change into APK in the webview mode, the web app automatically sends a message to whatsapp, but on th apk I got this error “err_unknown_url_scheme”, although I already found Deeplink1 from https://community.appybuilder.com/t/deep-links-in-a-webviewer/26186?u=ken, I cannot find examples of how to use it.

I count on your support.

you can find an example project also in that thread you mentioned


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

This error is appeared because the WebView can’t recognize the URL Scheme,for example, the WebView will usually recognize only http and https, anything other than these. So WebView cannot parse it to right place, we should use intent to redirect the url. for example – intent://,market://,app://,mail:// etc will not be recognized by webview unless we add a handler to handle these url scheme or by disabling these scheme and only load http and https schemes.

This error has no any specific solution till now. Android user and PC user all are facing this error which needs to be sought out. There's a long-standing bug in Chromium regarding how links without protocols are handled. It occasionally is patched, but seems to keep resurfacing. In some cases, prefixing your links with http:// (or https://) should resolve the issue for you.

Also, in some cases, try to add target="_blank" in your URL Scheme/Code. for example:

<a href="mailto:my@email.com" target="_blank">Link Text</a>