mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
remote push notif: fix badge count display which was broken when used NewsStand as a test purpose..
This commit is contained in:
parent
6fca1c71cb
commit
9c2a949f08
1 changed files with 2 additions and 3 deletions
|
|
@ -179,9 +179,8 @@
|
|||
}
|
||||
} else {
|
||||
if (!instance.isTesting) {
|
||||
NSUInteger notifTypes = UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound |
|
||||
UIRemoteNotificationTypeBadge |
|
||||
UIRemoteNotificationTypeNewsstandContentAvailability;
|
||||
NSUInteger notifTypes =
|
||||
UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeBadge;
|
||||
[app registerForRemoteNotificationTypes:notifTypes];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue