How to fix ERR_UNKNOWN_URL_SCHEME error in Kodular?

I am encountering an error in my app. It’s ERR_UNKNOWN_URL_SCHEME. I occurs when a user clicks on paytm payment button and it opens web view browser and throws this error.
Please any solutions.

Thanks in advance​:blush::blush:

1 Like

Welcome,

Did you use the searchfunction of the community?

https://community.kodular.io/search?q=ERR_UNKNOWN_URL_SCHEME

5 Likes

No but now the problem has fixed. The opened the link and copied the long url and then it didn’t show any error. It’s working now.

I have same problem …how you solve it ?? Kindly guide

Hey please how did you solve yours? Kindly post the solution. Thank you

ALready did, none shows the solution

1 Like

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 schemes 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:[email protected]" target="_blank">Link Text</a>