68
Views
5
Comments
[InAppBrowser Plugin] net::ERR_UNKNOWN_URL_SCHEME error in InAppBrowser
Question
inappbrowser-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile
Service Studio Version
11.9.2 (Build 34232)

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

2021-09-09 06-03-31
Mukesh Singh

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.

 

2021-03-10 13-50-58
NaveenRaj

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,

Naveen


2021-09-09 06-03-31
Mukesh Singh

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

UserImage.jpg
Olivia Graciyna

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!

2025-01-10 11-40-52
Pedro Gustavo Bilro

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.