This method returns the token used by Engagement to send push messages to the device.
Syntax
MCCordovaPlugin.getSystemToken(successCallback, [errorCallback])
Kind
Static method of MCCordovaPlugin.
Parameters
| Parameter | Type | Description |
|---|---|---|
successCallback |
function |
|
successCallback.token |
string |
The token used for push messaging. |
errorCallback |
function |
See Also
- Android SDK Reference
- SDK Reference for iOS: accessToken() Method