It didn't get any notifications after changing the device token. (Voip, APNs)

I am developing the iOS application using PushKit and APNS. Some users didn't get any notifications after some events, such as updated iOS 18 or a new version from the App Store. After the event had changed device tokens (PushKit, APNS).

When the app has launched, register the iOS system with PushKit and APN tokens and upload it to our server. Most of the time, the tokens didn't change.

I was investigating the console log when making a call from another device or sending APN. But I didn't get any logs from it. Normally it is looking following apsd, callserviced, Springboard, delivering or launching the app when getting a voip push.

The issue was solved after reinstalling the app. But it still occurred with users—about 1% of total. 

How do I solve the issue without reinstalling the app? 

It is hard to guess what and where the problem might be after the fact. There are indeed certain events that will cause the tokens to change. You are doing the right thing by registering at every launch.

It could be that perhaps your token database fell out of sync? And with the next token change (reinstalling the app) things went back to normal.

If this is happening all the time, you may want to double check your logic of uploading the tokens to your servers and the management of them there.

We can check if there is anything suspicious with the tokens, if you can provide:

  • the old token
  • the new token which isn't working
  • the Bundle-ID of the app this is effecting

within several days of this occurring. then we can check our logs to see if something may have gone wrong with the new token generation or something like that on our end.


Argun Tekant /  DTS Engineer / Core Technologies

I am so sorry for the late reply because of gathering the information for these days. I got sysdiagnose logs, but I couldn't attach the files. Could I submit them via 'Code-level support request'?

It didn't get any notifications after changing the device token. (Voip, APNs)
 
 
Q