CloudKit public database subscription doesn't reach all users

Right now I have the following setup!

  1. I'm using a container for an app I'm creating
  2. I'm subscribing to the public database (query sub)
  3. I'm subscribing to all changes (add+remove+modify)
  4. This is a still in development so it's me and another person adding records.
  5. we are using the dashboard to create records

The problem I'm have:

When I create a record in the public database I get notified on the change. However I don't get notifications if the changes are made by the other developer.

I'm using OBJ-C for coding and I don't know what I might be doing wrong. I tried to look at the documents online and nothing helped and it seems that they are also a couple years old (did anything API changed?)

Some "How To Tutorials" stated I should look into the log file of the database and check if there are any "push" type events but there are none (only "record modify" and "record fetch"). So I guess there might be something in the way I'm registering to the public database, is there a small sample project for this?

It appears that subscribing to the public database is deprecated. CoreData's support for CloudKit public database does polling. See https://developer.apple.com/videos/play/wwdc2020/10650/ with a reference at the 7:30 mark, and a more-detailed discussion starting at 10:20. I would recommend the entire video, even if you're rolling your own CloudKit implementation, as it has lots of insights into how achieve sync without the tombstone magic in CKFetchRecordsZoneChangesOperation.

CloudKit public database subscription doesn't reach all users
 
 
Q