I was experiencing the same issue, but after countless hours trying to debug, I realized that I was calling registerUserNotificationSettings(settings)
twice in didFinishLaunchingWithOptions:
. Verify that you’re not doing the same
More Related Contents:
- Will iOS launch my app into the background if it was force-quit by the user?
- What are different types of notifications in iOS and how to configure them correctly?
- Generate .pem file used to set up Apple Push Notifications
- Detect if the app was launched/opened from a push notification
- how to display image in ios push notification?
- Making GCM work for iOS device in the background
- Get device token for push notification
- Callback Method if user declines Push Notification Prompt?
- Renew Push certificate and keep current App Store App working
- APNS (Apple Push Notification Service) reliability
- How to fix “no valid ‘aps-environment’ entitlement string found for application” in Xcode 4.3?
- didReceiveRemoteNotification not working in the background
- How to send a silent Push Notification payload
- Receiving Push Notifications while in background
- iOS push notification: how to detect if the user tapped on notification when the app is in background?
- Why push notifications is not working on testflight?
- It’s possible to change push notification message before display on device from iOS side?
- didReceiveRemoteNotification: fetchCompletionHandler: open from icon vs push notification
- How to get back “Allow Push Notifications” dialog after it was dismissed once?
- How to handle push notifications if the application is already running?
- apple push notification limitation
- Enable/Disable Apple Push Notification from iPhone app?
- didReceiveRemoteNotification not called, iOS 10
- iOS 9: How to change volume programmatically without showing system sound bar popup?
- Is there a way to test my Xcode 7.2-compiled app with iOS 9.3?
- iOS9 does not load insecure resources from a secure page (SSL/HTTPS)
- Swift ios check if remote push notifications are enabled in ios9 and ios10
- UIApplication.registerForRemoteNotifications() must be called from main thread only
- How to reliably detect if an external keyboard is connected on iOS 9?
- iOS timed background processing