onOpenURL


Purpose

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.

Signature

onOpenURL ( url, data )

Returns

This method does not return anything.

Parameters

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"
}

Related topics

Public API reference
Open URL
Legal notice | Copyright © 2017 and Confidential to Pegasystems Inc. All rights reserved
PDN | Pega Mobile Client | Feedback
Advanced...