Expo push notifs: how do they work?


#1

Hi
I am using expo push notifications on an app and they are working very well. However I have a question about them (curiosity):

When using Android push notifs we have to take care about token refresh and with Expo we have not, at least to the best of my knowledge. How are expo push notifications beeing implemented that do not require push refresh handling from us?


#2

Hi @imo - thanks for the question! The push token you get in an Expo app is actually just a unique id that identifies your device on our push notification server. We map that on our server to the actual apple/google tokens, take care of token refresh for you, and use those tokens to actually send out the notifications. Does that make sense?


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.