Testing push notifications

plans-img Available on all plans

deployment-img Cloud and self-hosted deployments

Make sure to configure push notifications for your pre-built mobile apps, or for your custom built mobile apps.

Then use the following instructions to confirm push notifications are working properly.

  1. Log in to your mobile app with an account on your Mattermost Server, which we’ll refer to as “Account A”.

  2. (iOS) When the app asks whether you wish to receive notifications, confirm you want to receive notifications.

Mattermost prompts you to confirm whether you want to allow mobile push notifications. To test mobile push notifications, you must select Allow.
  1. Confirm push notifications are enabled for “Account A”.

  1. Go to the notification settings menu in the mobile app.

Ensure push notifications are enabled by selecting the Settings icon located in the top-right corner of the screen.
  1. Check that the mobile push notifications are set to send.

Select the type of activity you want push notifications for by going to Settings > Notifications > Mobile Push Notifications. Select when you want push notifications by going to Settings > Notifications > Mobile Push Notifications for all Mattermost activity or mentions and direct messages only.
  1. Have “Account A” put the app to background or close the app.

  2. Using a browser, log in to “Account B” on the same Mattermost Server.

  3. Open a direct message with “Account A”, and send a message.

  4. A push notification with the message should appear on the mobile device of “Account A”. If the push notification does not appear, follow troubleshooting steps to look for issues.