Hi All,
I am getting net::ERR_UNKNOWN_URL_SCHEME error in InAppBrowser. Its working for urls like google, youtube etc., when i try to pass Microsoft Teams Meeting Join URL, am getting this error. Kindly update here if any solution for this. Thank you.
Regards,
Naveen
Hi NaveenRaj,
Since In-App browser only works with https or http scheme , When you try to open Microsoft Team Meeting Join URL it will try to open Meetings App in device and URL changes to https://msteams://team.microsoft.com/youmeetingdetails.
This scheme is not recognized by In-App browser. See the Screenshot below for URL change.
I would suggest if you are using
Target = Entities.Target.IN_APP_BROWSER
Change it to Entities.Target.SYSTEM for the Teams URLS. this you can set programmatically based on URL type.
Hi Mukesh Singh,
Thanks for the response, you are correct. But the requirement here is to open the teams call in our app itself, instead opening the Teams app. Is there any other way to do this?
regards,
Hi Naveen,
I don't think it's possible. Microsoft teams doesn't support mobile unless it is set to open desktop mode.
So whenever you try to open meeting link in mobile browser it will attempt to open teams app or will ask to install.
So, I would suggest you go with SYSTEM as target.
See thread below.
https://techcommunity.microsoft.com/t5/microsoft-teams/ms-teams-on-mobile-browser/m-p/1719111
Hii, @NaveenRaj
I faced the same net::ERR_UNKNOWN_URL_SCHEME error when trying to open Microsoft Teams meeting links using InAppBrowser in my Ionic app. It works fine for standard URLs like Google or YouTube, but fails with Teams links because msteams:// is a custom URL scheme that the in-app browser doesn’t recognize.
This is a common browser-related issue where the scheme (like http, https, mailto) isn’t supported inside the WebView. A simple workaround is to detect such links and open them in the system's default browser instead.
There can be other causes too, including plugin limitations or platform-specific restrictions. I found a useful article explaining more about this error and how to fix it:https://cheapsslweb.com/blog/fix-err-unknown-url-scheme-error/.I hope it helps!
As mentioned earlier, the InAppBrowser Plugin is meant to work only with webpage URLs, i.e. ones that start with http:// or https://In the latest version of the InAppBrowser Plugin, you will no longer even be able to reach the WebView, you will receive an Error "OS-PLUG-IABP-0003" - "The URL provided must begin with either http:// or https://."
The alternative would be, if possible, to use the https://teams.microsoft.com/l/meetup-join/... URL instead of the one with custom scheme, and open that with the OpenInExternalBrowser client action.
Another option is to try using a custom plugin to launch a mobile app - https://www.outsystems.com/forge/component-overview/2622/applauncherplugin-o11 - Although I'm unsure if that plugin is maintained and if it works in recent Android / iOS versions.