Skip to main content
All CollectionsCampaign edition & analyticsMessage Edition
How can I send a test push notification on Android?
How can I send a test push notification on Android?

You can add a test device and target it from the dashboard to ensure your notification is displayed correctly.

Baptiste avatar
Written by Baptiste
Updated over 6 months ago

Batch allows you to find information on your installation and save your ID 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 (deeplink, image, Mobile Landing, etc).

The easiest way is to use your Installation ID if it is displayed in your app or your Custom User ID if it is sent to Batch. Once you retrieve your ID, go to point 2.

1. Locate your Installation ID

πŸ’‘ From version 1.18 of our SDK, you can find your Installation using the "Find my Install" feature.

Batch will copy the Installation ID to the clipboard when the application appears in the foreground 4 times within 20 seconds. For more information, here is the dedicated article.

2. Find information on your device

On Batch's dashboard, go to Settings > Debug, and paste your ID (with the right ID type selected). Then click on "Save as a test device".

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

🚧 Didn't find your installation?
From version 1.18 of our SDK, you can retrieve your Installation via the "Find my installation feature": Batch will copy the Installation ID to the clipboard when the application appears in the foreground 4 times within 20 seconds.

Here is how to do it:

If you are on an older version of the SDK or deactivated this feature via our dedicated method, we recommend displaying the Installation ID somewhere in the app: Displaying the installation ID.

You may also ask your developers if they send a Custom User ID to Batch.

In any cases, make sure the app you are testing includes Batch's SDK.

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 test push" 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 send test notifications to your device to see how your campaign looks from the message editor. Click βš™οΈ to select your device in the saved devices, or copy your Installation ID in the corresponding field. Hit "Send a test".


This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on batch.com and our blog.

Did this answer your question?