IOS 9: different push tokens returned for the same application (between installations)

I see different tokens returned for the same application on the same device:

-(void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken

between installations.

For example, after the first installation, it will return the “A” token, and if I uninstall the application and reinstall it, it will return the “B” token. I see this behavior on the latest beta version of iOS 9, and wonder if this is by design or just a mistake.

+7
ios push-notification
source share
2 answers

I tested a device running iOS 8, iOS 9.0.1 and one running iOS 9.0.2. Devices with 8 and 9.0.2 behaved the same way (returns the same token between settings); therefore, it seems to be a bug introduced in iOS 9, which is fixed in iOS 9.0.2.

+2
source share

Whenever you install the application on the same device, you get a different device token. Check Is the APN device token unique to each individual application?

0
source share

All Articles