Does the token change after updating the application?

I ask about two situations:

1) After we regularly update the App Store

2) After we model the update by downloading the current version from the store and installing and launching the new version from Xcode,

changes notification tokens? If changes, how often, for example. every time or from time to time?

I ask about this because I did some testing where I want to save the Documents folder after the update. Therefore, this can be easily done, as described above, by downloading the application from the store and launching a new version from Xcode. But I noticed that push notifications stopped working. Then I repeated this several times (uninstall the application, install it from the store, then run the updated version with Xcode) and every time push notifications work.

I wonder if this was due to a change in the notification token?

+4
source share
2 answers

As far as I know,

1) Regular updates from the App Store - APNS token is not changed.

2) . , . , appstore APNS, xcode one. . - push- Apple push, xcode. Sandbox Sandbox.

+2

. Apple Docs:

; , . , . , , , . , , APN. , , .

, Apple 3 , :

, . , ...

+2

Source: https://habr.com/ru/post/1667783/


All Articles