Push Notification token doesn't update with a new device
See original GitHub issueEnvironment
Production Standalone iOS
Steps to Reproduce
- User installs the app
- Enables push notifications
- Get token via
Notifications.getExpoPushTokenAsync() - User receives a push notification successfully
- User makes a backup of their device
- User gets a new device
- User restores from backup
- User opens already-installed app
- Push token via
Notifications.getExpoPushTokenAsync()is the same as in 3 - No push notifications are ever received by the new device
Expected Behavior
A new token should probably be generated so that the server can send to the new device.
Actual Behavior
No push notifications are received by the new device.
Only course of action for the user seems to be to uninstall + reinstall, at which point, push notifications work without issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Not receiving push device token in… | Apple Developer Forums
Hi there, I'm seeing weird behavior when trying to register for push notifications in macOS development builds for any of my apps
Read more >android - How to update the old device token with the new ...
Your server that is sending the push notifications should monitor the response from APNS. When it indicates that a token is no longer...
Read more >Best practices for FCM registration token management
On this page · Basic best practices. Retrieve and store registration tokens; Detect invalid token responses from the FCM backend · Ensuring registration...
Read more >Push Registration - Braze
Unfortunately, APNs and FCM don't really define this. Push tokens can expire when an app is updated, when users transfer their data to...
Read more >Push notification troubleshooting and FAQ
Your device doesn't have push enabled. · Your device's push token was added after the message was scheduled to send. · Your device...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This issue affects our standalone, non-ejected iOS app as well. The push notification token, as well as
Constants.installationId, have the same values on the new device. Users don’t receive push notifications until they uninstall and reinstall the app.Not sure if this is the place to ask, but I’m running out of ideas. I have the exact same issue as described above. However… even after an uninstall/reinstall, a new token isn’t generated. And ofc notifications don’t work.