Uninstall Tracking Setup - Flutter SDK (v4)

    Airbridge sends silent push notifications everyday between 0:00 and 1:00 KST (Korea Standard Time) to users who have tracked app events at least once in the past 6 months, to check whether the app has been deleted. You can check app deletion events through Airbridge reports and by extracting original data.

    Submit Credentials

    Enter your Apple Developer Center and Google Cloud Console certification information on the Airbridge dashboard.

    Get credentials from Apple Developer

    Please check the following 4 pieces of certification information at the Apple Developer Center.

    Get credentials from Google Cloud Console

    Please do the following 3 pieces of tasks to check certification information at the Google Cloud console.

    Submit credentials to Airbridge

    iOS

    Enter all the certification information from the Apple Developer Center into [Settings]>[Uninstall Tracking]>[iOS App Uninstall Tracking] of Airbridge.

    Select app environment

    After entering all the authentication information in Airbridge, select the app environment to collect push tokens.

    The push token collected differs depending on the app environment you choose. For example, push tokens collected in the Production environment cannot be used in the Development environment.

    Android

    Follow the steps below to submit Firebase credentials to Airbridge.

    1. Navigate to [Settings]>[Uninstall Tracking] in the Airbridge dashboard.

    2. Select the [Android] tab.

    3. Upload the JSON key file by dropping the file or clicking to select the file.

    Test silent push notifications

    iOS

    Silent Push Test is a test that lets you confirm whether the silent push is being sent correctly. When you click 'Silent Push Test', you can verify whether the silent push is being properly sent to your device with the entered authorization information. The silent push test does not measure or generate app deletion events, so you cannot verify app deletions on the Airbridge dashboard.

    One of the authentication informations needed for app deletion tracking, the Bundle ID, can only be validated through the Silent Push Test. Therefore, we recommend proceeding with the silent push test.

    To conduct a silent push test, you need an APNs push token (device token). The push token you collect varies depending on the app environment. You need to check the push token and the app environment before conducting a silent push test. Please refer to the Apple Developer Guide for how to check the APNs push token.

    When you send a silent push to a device from Airbridge, you can check for a success message or an error code. The main error codes that can be checked via a silent push test in an iOS environment are as follows. For more information about error codes, please refer to the Apple developer guide.

    Attention

    You cannot conduct silent push tests on the iOS Simulator.

    Android

    Test silent push notifications to make sure the notifications can be successfully sent to devices. To proceed with the test, click Test silent push and enter the FCM registration token of your test device. For detailed instructions on how to access your FCM registration token, refer to Firebase documentation.

    A success message will be shown when a silent push notification is successfully sent to a test device with the app. A failure message containing the error 404 will be shown when a silent push notification is successfully sent to a test device without the app.

    Find the complete list of error codes below. For details about the error codes, refer to Firebase documentation.

    The test never affects the uninstall event count available via Airbridge reports and raw data exports. Therefore, it is impossible to track actual uninstall events by testing the silent push notifications.

    Set Up the Airbridge SDK

    To track app deletions, you need to complete the Airbridge SDK setup.

    Enable push notifications

    Airbridge tracks app deletions through silent push notifications. Please set up the ability to receive push notifications in the app for this.

    Send the push token

    When the push token is generated, please deliver it to the SDK by calling the registerPushToken function.

    123
    import 'package:airbridge_flutter_sdk/airbridge_flutter_sdk.dart';
    ...
    Airbridge.registerPushToken(token);

    Warning

    On iOS, you need to send the APNS push token, and on Android, you need to send the Firebase push token.

    Silence push notifications

    The silent push notifications that Airbridge sends to track app deletions should not appear to the user in the app. The app should ignore these push notifications. Please refer to the following code.

    1234567
    import 'package:airbridge_flutter_sdk/airbridge_flutter_sdk.dart';
    ...
    if (Airbridge.isUninstallTrackingNotification(payload)) {
        // app uninstall tracking push by airbridge.
        // ignore these push notifications.
        return
    }

    Enable Uninstall Tracking

    Once you enter the authentication information on the Airbridge dashboard and complete the Airbridge SDK setup, you can activate the app deletion tracking toggle. When the toggle is activated, app deletion tracking starts.

    For more details on app deletion, please check the Airbridge guide.

    Was this page helpful?

    Have any questions or suggestions?