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.

Access notification settings by selecting your profile picture to access Settings > Notifications.
  1. Check that the mobile push notifications are set to send.

Select Push Notifications to confirm when mobile push notifications will be sent. Specify whether all new messages or only mentions and direct messages send push notifications.
  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.