iOS push notifications handle device token

Hello,
I am creating a mobile iOS application using Mattermost server and I have one question about the push notification service.

After asking the user to allow push notifications, I received a Device Token. I guess that I have to give this token to the Mattermost server or to the Mattermost push notification service but how do I do this? What I am supposed to do with the iPhone device token so that the Mattermost token send push notification to the right iPhone?

Thanks

Hi @GoodBadboY, these guides might help:

1 Like

Hi @GoodBadboY just to add on to what Amy asked, is the Mattermost iOS app already created, and the push notification service set up as per these documentations : iOS Push Notifications and Push Notification Service?

Were you able to find where to input the token that you received?

Thanks now it is working. It was just that I didn’t see this API call: https://api.mattermost.com/#tag/users%2Fpaths%2F~1users~1sessions~1device%2Fput.

Have a good one!