Uninstall tracking for Android and FireOS
Uninstall tracking utilizes a silent push from Firebase Cloud Messaging to detect uninstalled devices. Starting in Braze Android SDK v3.1.0, we will intelligently drop the uninstall tracking notification and not wake up any custom broadcast receivers in your app with the regular silent push intent.
If you wish to detect if the push notification is uninstall-tracking yourself, use isUninstallTrackingPush()
.
Since uninstall tracking silent push is not forwarded to your custom broadcast receiver, this method can only be used before the push notification is passed to Braze, such as when using a custom Firebase Messaging Service.
If you have a custom Application
subclass, make sure you do not have automatic logic that pings your servers in your Application.onCreate()
lifecycle method. This is because a silent push will wake your app and instantiate theApplication
component if the app is not already running.
See Uninstall Tracking in our User Guide for more information.