I had to change the APNS provider and of course I generated new certificates for the new provider.
Things are going well if the device under APNS registration is new to Apple
The issue happen when I have an already, from Apple point of view, registered device because the callback method: - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
is not called and I'm unable to register the token with the new provider.
I'm looking a solution to reset all tokens that Apple knows in that way each device will be managed as new and didRegisterForRemoteNotificationsWithDeviceToken is finally called (with the previous original token does not matter)
Can anybody tell me if this is possible or how to workaround the issue ?
Thanks
Dario