CKFetchNotificationChangesOperation sometimes does not return UPDATE, DELETE messages

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:

enter image description here

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.”

+8
ios cloudkit
source share

No one has answered this question yet.

See similar questions:

102
Quiet clicks are not delivered to the application on iOS 11
6
CloudKit push update notifications not working
6
CloudKit Subscriptions for CKSsubscriptionOptionsFiresOnRecordUpdate Not Working
2
CKS subscription for type CKSscriptionOptionsFiresOnRecordUpdate not working
0
Alternatives to UPDATE notification that does not work

or similar:

7
Are public database subscription notifications received by all users with the same subscription?
5
CloudKit iOS 9.0 didReceiveRemoteNotification not called after iOS 9.3
4
CKFetchNotificationChangesOperation returns old notifications
4
Do not receive push notifications from CloudKit subscribers
2
CloudKit update delivery notifications
2
How to verify that silent notifications work in iOS?
2
Purpose C- Push Notifications Does Not Work with Cloudkit
2
Cloudkit does not send push notifications
0
The subscription type from the development environment in Cloudkit is not properly removed
0
Not getting CloudKit PushK notifications

All Articles