1

I have an app with support for Push Notifications under development for couple of months now. Push Notifications worked just fine until yesterday.

Now the application does not get any callbacks for registering for APNS. didRegisterForRemoteNotificationsWithDeviceToken nor didFailToRegisterForRemoteNotificationsWithError in the AppDelegate is called. Why I don't get any AppDelegate callback when registering for PN?

Registration is properly called:

let settings = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
UIApplication.sharedApplication().registerUserNotificationSettings(settings)
UIApplication.sharedApplication().registerForRemoteNotifications()
Martin Koles
  • 5,177
  • 8
  • 39
  • 59

1 Answers1

2

That is not your fault. There is some issue in APNS as on 19 July, 2016. For reference check this didRegisterForRemoteNotificationsWithDeviceToken not called in ios8, but didRegister...Settings is

Once APNS start working , you will start receiving device token and work with push.

Kunal Gupta
  • 2,984
  • 31
  • 34