Set Push Token [MSDK Only]
[MSDK Only] Sets the Firebase push token for uninstall tracking. Currently supported by Adjust and AppsFlyer.
Supported Platforms
- Unity
- Unreal Engine
Supports
Android, iOS platform.Supports
Android, iOS platform.Function Definition
- Unity
- Unreal Engine
void SetPushToken(string pushToken);
static void SetPushToken(const std::string &push_token);
Input Parameters
- Unity
- Unreal Engine
| Parameters | Type | Description |
|---|---|---|
| pushToken | string | Firebase token |
| Parameters | Type | Description |
|---|---|---|
| push_token | string | Firebase token |
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetReportService().SetPushToken("token");
GUA_NAMESPACE::GUAReportService::SetPushToken("Token");