Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Regarding the change of device tokens after an iOS update

In the app we are developing, we update the device token upon app launch using didRegisterForRemoteNotificationsWithDeviceToken. Previously, after an iOS major update, if the app was left without being launched, users experienced an issue where notifications would not be received. Later, we confirmed that running didRegisterForRemoteNotificationsWithDeviceToken during app launch updates the device token and restores the ability to receive notifications.

Therefore, we believe that the device token may change due to an iOS major update. We want to understand the detailed conditions under which the device token is updated due to an iOS update:

  • Does the same issue occur after iOS minor updates as well?
  • Does it always happen during iOS major updates?

We reviewed the official documentation, but there was no detailed description of the device token update conditions. Additionally, we contacted Apple, but received no clear answers. If anyone has experienced the same situation, we would appreciate any information you can share.

Changing of push tokens is rare, but the possibility exists. There is no deterministic causality between iOS updates and token changes, although sometimes they do trigger a token change. You probably didn't find Apple's answer clear, because there is no clear set of conditions that will trigger a token change, and it is possible it would happen even without an iOS update.

That said, you will find the token changing to be more likely due to user actions like deleting and reinstalling the app, restoring the device from a backup, or migrating to a new device.

In any case we do recommend to call registerForRemoteNotifications() at every app launch, and update your push servers with the new token if it has changed, as token changes can and do happen.


Argun Tekant /  DTS Engineer / Core Technologies

Thank you for your response.
I have an additional question.
You mentioned that to update the device token, it is recommended to launch the app and execute didRegisterForRemoteNotificationsWithDeviceToken. However, is it possible to update the device token in the background without launching the app?
If it is possible, I would appreciate it if you could explain how to update the device token in the background without launching the app.

Regarding the change of device tokens after an iOS update
 
 
Q