Push notification tester
After registering a credential for push notification services, you can test through the Sendbird Dashboard whether the credential and notification services work properly.
In Settings > Chat > Push notifications > Push notification credentials on the dashboard, each credential has a Send button that allows you to send a test message. The test message will be sent to a target user and their device, which sets off a push notification on the device. At the same time, a new group channel will be created for this test, containing only the target user. If you've already tested push notification with the same target user and the same target device token, the message will be sent to the existing test channel.
Note: If there is another member in the test channel or the target user has left the channel, delete the test channel before carrying out a test.
- Go to Settings > Chat > Push notifications > Push notification credentials on Sendbird Dashboard. Find a Send button in the right-end column of each table.
- You can search a user to send a test message to by either their User ID or Nickname in the popup window. Once a user is selected, choose a target device from a list of device tokens linked to the user.
- Double check to see if you've selected a correct device token of the user because this push notification will show up on an actual mobile device. Confirm the target channel name and URL, then send the message.
Note: If this is your first test, a new test channel will be created. For future tests with the same target user and the same target device token, the name and URL of the existing test channel will show above the message box.
- Check to see if the push notification arrived on the mobile device. The test message will state the time when the Sendbird server sent the message.
Note: For iOS devices, only an actual mobile device can receive push notifications while emulators can't.