ExponentPushToken - When does it really change?


#1

Hey there,

I need to get some clarification here :stuck_out_tongue_winking_eye: When does the ExponentPushToken, which should uniquely identify a device for push notifications, really change? Shouldn’t it stay the same forever? If not, why does it need to change? I think it isn’t really elegant to always retrieve a new one when the app loads initially. More so, because it needs to be persisted in the back-end as well…

Has someone insights? Would really appreciate it!

Thanks & Cheers!


#2

See this previous forum answer:


#3

Thanks! That really helped me. So it makes sense to call ‘registerForPushNotificationsAsync()’ on every app launch, right?