Posts

Post marked as solved
1 Replies
607 Views
I am saving the userCloudId.recordName (from CKContainer.default().fetchUserRecordID()) as a string to a field called "loginId" in a custom table called "Employee" in my public iCloud database, the value looks something like this "_aebcd4c5af42dab942e1c094c4e2fc04". I have some friends log into my app with their iCloud Users and some can see data and others cannot.When I dig deeper, it appears that fetching by certain userCloudId.recordName strings work and others do not. I even try to fetch inside of the cloudkit dashboard and some of these show results and others show no records, even though I'm taking these strings directly from the records I'm browsing through.I just manually scroll to an "Employee" record in CloudKit dashboardI copy the "loginId" valuePaste it directly in the "loginId" filter in CloudKit dashboard for employee tableTap Query Records and it says No Records Found.If I browse to a different loginId, it returns the correct record. I'm at a complete loss as to why this is happening.I use iCloud in many of my apps and this is the first time something like this is happening to me. Any ideas?This is on iOS12, devices I tried are iPhone X and iPhone XR but these seem irrelevant.
Posted
by dstarsboy.
Last updated
.