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
You can install The Identifiers app on your iOS device to find your advertising ID.
Make sure "Limited Ad Tracking" is not enabled in your device's settings > Privacy > Advertising. Otherwise, you will need to disable it and reopen your app.
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.
🚧 Didn't find your installation?
This may happen if the app doesn't share the advertising ID of your device with Batch. Ask your developers if they send a Custom User ID to Batch or if they can display Batch's anonymous Installation ID somewhere in the app.
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.