diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 28f60b221..e0d5af741 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -167,7 +167,7 @@ if (num > 2) { LOGW(@"[PushKit] unexpected pushkit notifications received %d, please clean your sip account.", num); } - [[UIApplication sharedApplication] unregisterForRemoteNotifications]; + // Register for remote notifications. LOGI(@"[APNs] register for push notif"); [[UIApplication sharedApplication] registerForRemoteNotifications];