Skip to main content

Uninstall / Reinstall Tracking

Push token

Attention

Firebase Cloud Messaging Legacy APIs has been deprecated since June 2024.

Push tokens are required for uninstall and reinstall tracking.

To send us a push notification token, call the setDeviceToken method on the AdTrace instance when you obtain your app's push notification token (or whenever its value changes):

AdTrace.setDeviceToken("YourPushNotificationToken");
note

in order to handle the case where a silent push sent, check this link.