remote push notif: fix badge count display which was broken when used NewsStand as a test purpose..

This commit is contained in:
Gautier Pelloux-Prayer 2015-08-26 15:44:45 +02:00
parent 6fca1c71cb
commit 9c2a949f08

View file

@ -179,9 +179,8 @@
}
} else {
if (!instance.isTesting) {
NSUInteger notifTypes = UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound |
UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeNewsstandContentAvailability;
NSUInteger notifTypes =
UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeBadge;
[app registerForRemoteNotificationTypes:notifTypes];
}
}