Since iOS 9, my push notifications are not working. I believe this is a client side problem because I checked everything on my server and I am receiving a "success" response from APNS.
Here's how I register for remote notifications:
UIApplication.sharedApplication().registerForRemoteNotifications()
This is executed in
application:didFinishLaunchingWithOptions:
However, the alert asking for permission is not shown and the app is not listed in Settings > Notifications. I tested this on multiple devices running the production app from the store. This worked on iOS 8.
What am I doing wrong?