Batch works on any devices that have recent Google Play Services installed, no matter where the app was installed from.
You can send notifications to a single user using Batch transactional Push. For more information and examples, see our documentation.
You will find instructions on how to test push notifications in our documentation.
If you want to know if a user has opened your app from a push notification, you can track the message Batch posts in your logs:
“App was opened from a Batch push”
To make sure your migration is quick and easy, we've developed a system that allows us to manually import your devices' tokens.
Yes, we do have a procedure for exporting push tokens. Exporting your push tokens requires a manual intervention from our technical team. All you need to do is to contact us
Batch automatically takes care of updating/cleaning your users’ tokens so you can just focus on the wording of your next push campaign.
Batch will collect your user’s push token the next time they open your app and have a working internet connection.
Your users will receive the notifications the next time they’re connected to internet.
Android and iOS handle push notifications differently when the app is already open. Unlike Android, iOS doesn’t show the notification to your users by default.
That said, since iOS 10, you can configure your application to show foreground notifications.
If you've done that, make sure that you implemented Batch's calls correctly, so that you don't get any bad surprise on release day.
You'll find a list of all the push customisations available for iOS here.
Batch allows you to add Emoji emoticons in the title or the body of your iOS/Android push notifications. You will find more information here.
If you’re using the REST API, you will need to add the unicode value of the emoticon to the ‘title’ or ‘body’ of your message. A full list of unicode values for Emoji Emoticons is available here.
Here is an example using the “sun” emoji:
"body":"How's it going? u2600"
Please run some tests on your device before sending the notification to your users.
On Android versions before 4.4, Emoji Emoticons might not be displayed correctly.
Batch lets you send large-format notifications with a large image attachment. You'll find more information on custom images here.
Starting with Android 8.0, all apps targeting API 26 or higher must use notification channels. Your Batch SDK version or custom receiver might not support. See here to know more on the Notification Channels.
We do not provide a library for Node.js at this point but If you want to send push notifications through Batch’s API, you can use the following projects for Node.JS:
You can also try this very basic code to send push through the Transactional API.
We do not provide a library for PHP at this point but Batch provides REST APIs you can use to send push notifications to your userbase or specific user IDs. See here to know more.