Safari

Presents a website.

Presents a website either in-app or by leaving the app an opening the Safari app.

+openInApp

Presents a website in-app.

static openInApp(url: string, fullscreen: bool): Promise

Presents a website without leaving the app. To present a website and leave the app, take a look at the Application type.

Parameters

url
string
URL of website to present.

fullscreen
bool
Optional. Set to true to display the web view in fullsceen. This only has an effect when used within the app. Defaults to true.


+open

Presents a website.

static open(url: string)

Presents a website in the Safari app, thus leaving the current app.

Parameters

url
string
URL of website to present.