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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With