Uninstall Tracking utilizes a silent push from Firebase Cloud Messaging to detect uninstalled devices. However, If the app is still installed, then this silent push is received by your app. 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, please use
Note that 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 silent push will wake your app and instantiate the
Application component if the app is not already running.
For more information, see the Uninstall Tracking page in our User Guide.