Your app must have push notifications already enabled.
Push notifications allow you to send messages to users of your app. For more information on configuring push notifications for iOS read this article. For more information on configuring push notifications for Android read this article. Push notifications should be tested on iOS and Android devices as they are different systems.
If you are looking for information on in-app notifications, read this article.
Push notifications offer the following features:
- App developers can send messages to users of their app
- App developers can test that the messages are being sent correctly
- App developers can inform users about updates or changes to the app
To test push notifications you’ll need to:
- Set up the push notification test
- Send the push notification test
- Send the push notification test again (optional)
Step 1 – Set up the push notification test
- In your app, go to “Publish” in the top right corner of Studio.
- Select the gray “Notifcations” button.
- Click the blue “+ Create new” button in the top left corner.
- Enter a title and a message for your test notification. The number of characters will count down as you type so you do not have to remember the character limit.
- Add a link to test that the link feature is working. Select one of the following options:
LINK TO SCREEN and then select a screen from the dropdown and select an animation.
LINK TO WEB PAGE and enter a web page.
- Click on the blue “Select recipients” button.
- Under “Send notification to…”, select “TEST DEVICES”. You can see the estimated number of recipients who will receive your message.
- Under “Device IDs” enter the ID for your device. To find the ID, go into your app and click on “About this app” (usually at the bottom of your hamburger menu). You should be able to see the device ID.
- Add notes to the recipients of your notification if you wish.
Click on the blue “Prepare for send” button.
Step 2 – Send the push notification test
- Under “Send notification…” choose “NOW”.
- Under “Show notification as…” select both “IN-APP NOTIFICATION” and “PUSH NOTIFICATION”.
- Click on the blue “Review” button.
- Check the preview of what your push notification will look like. You can see a confirmation of the message that you will see for the in-app notification but not what it will look like at this stage.
- Click on the blue “Send notification” button.
- A success message will appear. Click “OK”.
- If the test was successful, you will be able to see that the notification has been sent. (It will appear as a sent message rather than a draft.)
- The edit option will have disappeared now that the notification has been sent. However, you can click “Copy” if you wish to create a duplicate.
- To see the results of your push notification, click on the “Push notification result” button next to copy. You will see how many devices received the notification and how many batches of the notification were sent.
Step 3 – Send the push notification test again (optional)
If you already sent the push notification test to yourself but you wish to send it again to a department:
- Click the “Copy” button.
- Make any changes you wish to make to the text. Then click the blue “Select recipients” button.
- Under “Send notification to…” select “SIGNED IN USERS”.
- Under “Recipients must match all of the following” choose which department/s you would like the push notification to be sent to.
- Click “Prepare for send”.
- Select whether you would like to send the notification “NOW” or “LATER”
- Under “Show notification as” select “IN-APP NOTIFICATION” and “PUSH NOTIFICATION”.
- Click “Review”.
- If you chose to send the notification “NOW” then click “Send notification” and if you chose “LATER” click “Save notification”.