Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 2.28 KB

push-notification-security.md

File metadata and controls

39 lines (21 loc) · 2.28 KB

Secured Push Notification

Instead of sending the message content through a push gateway: Apple and Google, if you are running Enterprise edition the Secured Push Notification sends just the ID of the message.

Once the ID reaches the user’s device, the message is retrieved from Rocket.Chat server and the notification is created.

{% hint style="info" %} Please note that this process works for both situations if the user is using Rocket.Chat’s push gateway or his own. {% endhint %}

Privacy

In Privacy, you can configure what amount of information you want your push notification to have.‌

  1. Go to Administration

2. Search 'Push' in Settings

​‌

3. Go to Privacy


Above are the default settings.

The first two toggles are self-explanatory.

If Fetch full message content from the server on the receipt is enabled and you're running the Enterprise Edition, the notification payload, that is sent through the Apple Push Notification service or Firebase Cloud Messaging service contains no message content. Instead, it contains only the message ID which is then used by the mobile app to fetch the message content from the Rocket.Chat server to display the notification. If something happens and the app cannot reach the server in time, a generic push notification message is shown. When the setting is disabled, the whole message content is sent via push notification payload so the mobile app can display the notification right away.