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.
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.
Thank you, this worked perfectly. Not sure why the other forge components did not work.