Hi,
I am trying YapDatabase for the first, it seems quite nice!
I am testing the CloudKitTodo example project and everything works for me except when it is trying to save the subscription, then it gives me the following error and the subscription is not saved. I can still add, edit and delete notes, but I do obviously not receive any remote notifications on updates from iCloud.
Error creating subscription: <CKError 0x1c0443f90: "Partial Failure" (2/1011); "Failed to modify some subscriptions"; partial errors: {
zone1 = <CKError 0x1c04445f0: "Invalid Arguments" (12/1017); "Subscription with a nil notificationInfo: <CKSubscription: 0x10339f830; ; RecordZone Subscription: zoneID=<CKRecordZoneID: 0x1033ca090; ownerName=__defaultOwner__, zoneName=zone1>, recordType=(null), subscriptionID=zone1>">
Adding the following in CloudKitManager.m seems to fix the issue
CKNotificationInfo *notificationInfo = [CKNotificationInfo new];
notificationInfo.shouldSendContentAvailable = YES;
subscription.notificationInfo = notificationInfo;
Is this fix ok, or did you have something else in mind?
Best regards,
Simon