Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 9: Different push tokens returned for the same app (between installes)

I'm seeing different tokens returned for the same app on the same device:

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

between installs.

For example after first install it will return token 'A' and if i remove the app and re-install it will return token 'B'. I'm seeing this behavior on iOS 9 latest beta, and wonder if this is by design or just a bug.

like image 689
Cherpak Evgeny Avatar asked Jul 23 '15 11:07

Cherpak Evgeny


1 Answers

I tested on a device running iOS 8, iOS 9.0.1 and one running iOS 9.0.2. The devices with 8 & 9.0.2 behaved the same (returns the same device token between installs); so, it appears to be a bug introduced in iOS 9 that is fixed in iOS 9.0.2.

like image 156
JoeyBartez Avatar answered Nov 14 '22 23:11

JoeyBartez