ckfetchnotificationchange

Alternatives to UPDATE notification that does not work

旧城冷巷雨未停 提交于 2020-01-07 03:25:07
问题 UPDATE notification stopped working. What workaround do you have, until Apple figures out something? CKFetchNotificationChangesOperation sometimes does not return UPDATE, DELETE notifications CloudKit push notifications on record update stopped working https://forums.developer.apple.com/thread/7288 My quick fix, that in every minute, and when user triggers UIRefreshControl , then I downloading all the records that were modified since the last update. It works. But I have a better idea in my

CKFetchNotificationChangesOperation sometimes does not return UPDATE, DELETE notifications

允我心安 提交于 2019-11-28 13:30:26
CKFetchNotificationChangesOperation returns INSERT operations, but UPDATE and DELETE, not always. DELETE, UPDATE worked last when I submitted app to App Store, but now not anymore. Why? I have created subscriptions like: let s = CKSubscription(recordType: recordType, predicate: NSPredicate(value: true), options: .FiresOnRecordCreation | .FiresOnRecordUpdate | .FiresOnRecordDeletion) s.notificationInfo = CKNotificationInfo() subscriptionsToSave.append(s) Dashboard shows all tree triggers: I do not use any alertBody , so notification is a so called silent notification, can it be the cause? In

CKFetchNotificationChangesOperation sometimes does not return UPDATE, DELETE notifications

烂漫一生 提交于 2019-11-27 07:44:10
问题 CKFetchNotificationChangesOperation returns INSERT operations, but UPDATE and DELETE, not always. DELETE, UPDATE worked last when I submitted app to App Store, but now not anymore. Why? I have created subscriptions like: let s = CKSubscription(recordType: recordType, predicate: NSPredicate(value: true), options: .FiresOnRecordCreation | .FiresOnRecordUpdate | .FiresOnRecordDeletion) s.notificationInfo = CKNotificationInfo() subscriptionsToSave.append(s) Dashboard shows all tree triggers: I do