I have CKRecord for Location details in the public database. I want to create a subscription for a CKrecord with location details, stored in the public database. I want to set subscription so I get notification from those that are in my contacts group only. The subscription notification on Location CKrecord notifies me on all users which takes more time to sort through and I want to avoid this.
How can I set the subscription?
Assuming your
Location
recordType has some kind ofuserEmail
field on it, you can query for those records like this: