Hosted Push Notification Service¶
Securing your Mattermost Push Notification Service¶
When using Mattermost mobile apps in the Apple App Store and Google Play, purchase an annual subscription to Mattermost Enterprise Edition E10 or higher to receive access to our Hosted Push Notification Service (HPNS).
Our Hosted Push Notification Service offers:
- Encrypted TLS connections between HPNS and Apple Push Notification Services, HPNS and Google’s Firebase Cloud Messaging service, and HPNS and your Mattermost server
- Production-level uptime expectation
After purchasing a subscription to Mattermost E10 or higher from Mattermost, Inc. follow the instructions below to set up and test your system.
Both TPNS and HPNS only work with the Mattermost Apple App Store and Google Play apps. If you have compiled the apps yourselves, you must also host your own Mattermost push proxy server. See our FAQ on how push notifications work for more details. Our push proxy server is available on Github.
If you use HPNS you need to ensure that the push proxy can be reached on port 443 from the Mattermost server, for TPNS it is port 80. If you host your own proxy server the default port is 8086.
Mattermost, Inc. also offers a free basic hosted service for testing setups called the Test Push Notification Service (TPNS). It does not offer a production-level uptime expectation, nor does it offer encrypted transport.
Setting up HPNS push notifications in Enterprise Edition¶
Follow these steps to set up HPNS:
- Follow the instructions to install or upgrade to Enterprise Edition
- Go to System Console > Notifications > Mobile Push > Send Push Notifications
- Select “Use encrypted, production-quality HPNS connection to iOS and Android apps” (this option appears only in Enterprise Edition)
- Click Save
After setup, test push notifications to confirm they are working.