Hello everybody. Push Notification iOS Exemple


While having some problem to run the self-hosted push notifications service. I wanted to know what the Mattermost’s JSON payload for an iOS push notification looked like, but unfortunately, I found nothing on the Internet.

So I was just wondering what the JSON payload send by the Mattermost push notifications service looked like for a new post and an edited one.

Also, I want to know if the “content-available” attribute is already present, and if not, if we could add it.


Thanks @dangquan09 for the question! You can find the payload here: https://github.com/mattermost/mattermost-push-proxy/blob/master/server/push_notification.go#L24

Push notifications are sent for new posts but not for edited ones.