Skip to main content

Test the integration

Test Uninstall Measurement
  1. Install a debug or release build on your physical test device or emulator (containing Google play).
  2. Open the app.
  3. Open Adtrace Testing Console from panel.
  4. Enter your device ID and select View device data.
  5. Under the App information section:
  6. The Install > State should show Installed.
  7. There should be a value for Push token.
  8. Uninstall the app.
  9. After 24 hours, check the Testing Console again, as Adtrace checks for uninstalls once a day. Under the App information section, the Install > state should now show Uninstalled.

The state change from Installed to Uninstalled ensures that the Uninstall and Reinstall measurement feature works correctly. However, if you would also like to test reinstall measurement, follow the next steps:

Test Reinstall Measurement
  1. Reinstall the debug build or release build on your physical test device or emulator (containing Google play).
  2. Open the app.
  3. After 24 hours, check the Testing Console again as Adtrace checks for "reinstall"s once a day. Under the App information section, the Install > state should show Reinstalled.

Troubleshooting

The following are the most common issues when testing uninstall and reinstall measurement:

  • The push token is missing. If the push token does not appear in the Testing Console, there might be something wrong with your Firebase implementation or with the code that integrates the Firebase SDK and the Adtrace SDK. Review these elements of your implementation.

  • There is an issue with the FCM HTTP v1 API private key. For example, the private key that you generated may belong to the wrong project, or you may have entered the details incorrectly into Adtrace Suite. Review these points, and if necessary, reach out to your Technical Account Manager or our support with your device's id and push token. They can pull logs to check the response from Google's API.

After resolving any issue, follow the these steps to test the implementation again:

  1. Uninstall the app.
  2. In the Testing Console, enter your device ID, and select View device data > Forget Device.
  3. Repeat the steps under the Test the integration section.