I have an iPod Touch with iOS 9.0 that isn't receiving CloudKit CKSubscription push notifications after the release of iOS 9.3.
My iPad with iOS 9.3 is receiving the notifications just fine, using the same build of the app.
Does anyone know what's going on here? Do certain CloudKit versions no longer push notifications to older versions?
When I delete and reinstall the app on my iPod Touch, I tap "Allow" to allow push notifications, but if I make any record changes in my CloudKit dashboard, only my iPad receives the push notification, and didReceiveRemoteNotification is not even called on my iPod Touch.
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Register for push notifications
let notificationSettings = UIUserNotificationSettings(forTypes: UIUserNotificationType.Alert, categories: nil)
application.registerUserNotificationSettings(notificationSettings)
application.registerForRemoteNotifications()
return true
}
func application(application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) {
}
notificationInfo.soundName = ""
. This is theCKNotificationInfo
object when you create a subscription. You might need to delete the old subscription and create a new one. – user1046037