openURL( )


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

developer preview tag

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.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?