inappbrowser-plugin
Mobile icon

InAppBrowser Plugin

Supported
Stable version 3.1.0 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded
 on 14 Nov (7 days ago)
 by 
OutSystems
3.9
 (12 ratings)
inappbrowser-plugin

InAppBrowser Plugin

Documentation
3.0.0

Check out the InAppBrowser Plugin in the product documentation.


2.4.6


The InAppBrowser window behaves like a standard web browser, and can't access Cordova APIs. For this reason, the InAppBrowser is recommended if you need to load third-party (untrusted) content, instead of loading that into the main Cordova WebView. The InAppBrowser is not subject to the whitelist, nor is opening links in the system browser.

The InAppBrowser provides by default its own GUI controls for the user (back, forward, done).


How to Use
In the method that we want to use to open the web screen drag the client action Open and set up the parameters.

Only the URL parameter is mandatory and must contain a valid URL with either 'http' or 'https' as the protocol prefix.

For advanced options, read the official documentation: https://github.com/OutSystems/cordova-plugin-inappbrowser


Step 1) Drag the client action Open.
Step 2) Set the URL parameter and choose the Target (by default IN_APP_BROWSER).

a) If you want to load the URL within the application on a custom browser you should use IN_APP_BROWSER:




The result will be the following:


b) If you want to load the URL on the system's default browser SYSTEM:



The result will be the following:



Step 3) For some advanced options, the plugin contains a set of additional parameters inside the structure Options (more details in the plugin official documentation):



Additional information

  • Although the IN_APP_SYSTEM_BROWSER option is available to be used in the Target parameter of the Open client action, we recommend using the OpenSystemBrowser client action when looking for an in app system browser experience.
  • Currently, the OpenSystemBrowser client action is only available for iOS. With this action, the provided URL will open in a system browser within the app's context.