SetPushToken [MSDK Only]
[MSDK Only] Sets Firebase push token to disable the tracking function. Currently supports Adjust and AppsFlyer.
Supported Platform
- 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
Parameter | Type | Description |
---|---|---|
pushToken | string | Firebase token |
Parameter | Type | Description |
---|---|---|
push_token | string | Firebase token |
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetReportService().SetPushToken("token");
GUA_NAMESPACE::GUAReportService::SetPushToken("Token");