This is an observer event. Add it to the onLaunchboxLoaded
method. When an associated custom URL opens, the Pega Mobile Client starts, and
the onOpenURL event executes right after the onLaunchboxLoaded
method.
Name | Description | Type | Use |
---|---|---|---|
url | A URL address containing a custom scheme for opening a registered native app. | string |
required |
data | String data in the key-value map form, passed to the target application. | object |
optional |
The dataMap
object can be used to pass authentication data, for
example:
{ "user": "user@company", "pass": "password" }