Batch allows you to find information on your installation and save your push token to send test notifications to your device.

This is useful to test your integration or make sure the notification you are editing works as expected on a real device (deep link, image, Mobile Landing, etc).

Here is how to proceed:

1. Locate your advertising ID

Open your device's settings, go to Google > Ads and write down the code you will find.

🚧 In case you don't find the "Google" menu in your device's settings, try to find an app called "Google Settings" in your app drawer and open it.

2. Find information on your device

On Batch's dashboard, go to Settings > Debug, paste your Advertising ID to find your device token. Then click "Save as a test device" below the "Push token" field.

In case you just need to test your integration, you can use the "Send a test" button. Batch will send a generic message with an image to your device.

3. Sending a test notification

You can send a test notification from 3 different places:

a) From the debug tool

In case you just need to test your integration, you can use the "Send a test" button (see screenshot above). Batch will send a generic message with an image to your device.

b) From the list of registered test devices

You can see the list of all the registered test devices from Settings > Push Settings. This is helpful to check if the token of your saved devices are still valid and delete them if it's not the case.

c) From the campaign editor

You can now send test notifications to your device to see how your campaigns looks from the message editor. Just click the ⚙️ to select your device and "Send a test".

Note: Your device token changes each time you reinstall the app. You will need to return to step 2 to find your new token and update it.

Did this answer your question?