I have problem in app version updates
[[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge) categories:nil]];
[[UIApplication sharedApplication] registerForRemoteNotifications];
In my older version app I have called above method two times wrongly in didfinishedlaunch method, For that I have received the same notification twice. So I have called that method one time only. After that I have uploaded that new version into the app store.
My problem is When a user is newly installed my new version app, It will be good, I have received notification single time.
But I have upgraded the older version to the new version, The above problem is repeated for me.Same Notification shows twice.