Posts

Post not yet marked as solved
4 Replies
I think it works like this. The otherUser's shared database is only accessible to the otherUser. After the otherUser accepts your share, the otherUser interacts with the share and its rootRecord (the record you shared) in the otherUser's sharedDatabase. You, on the other hand, interact with the rootRecord in your privateDatabase, which the otherUser has no access to.
Post marked as solved
1 Replies
Hope this is not too late. How about the following code snippet?let dayToday = DateComponents(weekday: 6) let dayTodayData = try? NSKeyedArchiver.archivedData(withRootObject: dayToday, requiringSecureCoding: true) let newRecord = CKRecord(recordType: "ComponentData") newRecord["data"] = dayTodayDataTry it in a playground. It worked in mine.
Post not yet marked as solved
1 Replies
I haven't seen any pushes in the Dashboard logs for some days now, but my test devices have been receiving them.