openURL( )


Directs the mobile app to open the specified URL in the device's browser.

The openURL() function returns a Promise that resolves when the navigation is successful.

Supported URL formats:

  • An external web address. For example, http(s)://.
  • A URI such as a phone number, geographic coordinates, social media link, or email. For example, mailto:@?subject=.
Method Declaration
Copy
Method Parameters
urlstringRequired

The URL to open.

Did this help?