The same source code works fine i Xcode 7.3.1, but when I compile with Xcode 8.1, then I never receive any push notifications
YES, I have enabled the Settings->Targets->Capabilities->PushNotifications.
And, YES, these two methods are are called: didRegisterUserNotificationSettings didRegisterForRemoteNotificationsWithDeviceToken
I am testing on device iPhone 6S, iOS 10.1.1 I have cleaned the build
I tried some suggested solutions from stackoverflow, suggesting using UNUserNotificationCenter, but of no help.
What could possibly be wrong?