CKFetchNotificationChangesOperation returns INSERT operations, but UPDATE and DELETE are not always. DELETE, UPDATE worked last when I sent the application to the App Store, but now no longer. What for? I created subscriptions like:
let s = CKSubscription(recordType: recordType, predicate: NSPredicate(value: true), options: .FiresOnRecordCreation | .FiresOnRecordUpdate | .FiresOnRecordDeletion) s.notificationInfo = CKNotificationInfo() subscriptionsToSave.append(s)
The dashboard displays all tree triggers:

I do not use alertBody , so the notification is the so-called silent notification, can this be the reason?
In CloudKit Tips and Tricks, the lecturer says that subscribing requires APS capability for the application identifier included with the developer portal. I don’t think I have it, but I just want to receive notifications, click only if it works.
Background features? - same
You must configure the APS environment key in the application information area. “I suppose I have.”
ios cloudkit
János
source share