forked from mirrors/linphone-iphone
fix duplicate push authorization requests on install
This commit is contained in:
parent
eb26a33d75
commit
640cb70ebf
1 changed files with 0 additions and 6 deletions
|
|
@ -325,12 +325,6 @@
|
|||
if (bgStartId != UIBackgroundTaskInvalid)
|
||||
[[UIApplication sharedApplication] endBackgroundTask:bgStartId];
|
||||
|
||||
//Enable all notification type. VoIP Notifications don't present a UI but we will use this to show local nofications later
|
||||
UIUserNotificationSettings *notificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert| UIUserNotificationTypeBadge | UIUserNotificationTypeSound categories:nil];
|
||||
|
||||
//register the notification settings
|
||||
[application registerUserNotificationSettings:notificationSettings];
|
||||
|
||||
//output what state the app is in. This will be used to see when the app is started in the background
|
||||
LOGI(@"app launched with state : %li", (long)application.applicationState);
|
||||
LOGI(@"FINISH LAUNCHING WITH OPTION : %@", launchOptions.description);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue