250
Views
2
Comments
Solved
How do you open mobile browser in devices default browser instead of the app?
Question
Application Type
Mobile

I am trying to open a browser page in the default device browser. I have tried the InAppBrowser plugin and the JavaScript method windows.open('url', '_system') , but none of it works. It always opens in the mobile app. This is a problem because the mobile app cannot differentiate mobile and desktop classes for web pages, so I need it to open in the device browser. I have not found a forum that has a working answer.

2022-08-03 04-32-50
Ravi Punjwani
Solution

Use InAppBrowser Events plugin. It has clear and easier way to do this.

Here you can specify InApp or System browser

https://www.outsystems.com/forge/component-overview/1674/inappbrowserevents


This forge component also has many events that you could use in your app.

UserImage.jpg
Matthew Vines

Thank you, this worked perfectly. Not sure why the other forge components did not work.

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