RE: https://mastodon.social/@lukaskubanek/116299581006179836

This is a total showstopper for any iOS apps using CloudKit.

@marcoarment soft disagree, CK apps should be architected so that push notifications are a nice to have, not a requirement.
@paul I can also imagine that the reality of many apps is different
@sense @paul Push notifications are a best effort service anyway, I tend to agree with Paul
@slizeray @sense getting CloudKit “right" is probably impossible for anyone outside of Apple. So it’s both a developer bug, an Apple bug and a CloudKit design issue. Lots of “blame" to go around.

@paul @slizeray it is hard because the developers rely on the backend they have no control over.

Apple would need to provide some guidance or a fix.

Either way, working together so that the issues that are surfacing are solved would be most productive.

@paul @sense always the same issue, the documentation is pathetic
@slizeray @sense @paul I also agree that apps shouldn’t rely on instant sync and should continue working in “offline” mode. However, with CKSyncEngine, you’re out of luck triggering the sync manually, as you’re handing control over to the system. The promise is that it just works. Until it doesn’t. It’s less of a black box than Core Data but still a black box…
@paul keep in mind that a lot of developers use frameworks that wrap CK and those are mostly written to rely on the notifications instead of polling them pushing first - aka “it’s easier said than done if all you did was do as the spec told you”
@heals I 109% accept that it’s an easy mistake for a dev to make on their own app, but if you are shipping a framework for others to use I think you should be familiar enough with the tech to realize this pitfall.
@paul I think reality has proven that theory didn’t work out (sadly) 
@paul @marcoarment agree. It's not hard to pull from CloudKit every once in a while or add a Sync Now button. I sync when the app comes to the foreground. Mac and iOS. Plus have a button. And a switch to toggle auto sync. And a sync delay setting.
@marcoarment @lukaskubanek Any chance this could be interfering with file sync as well? I noticed an issue last night where some files in iCloud file storage were not showing up on a second device.
@marcoarment this hurts. I spent four hours today trying to fix the issue. I started to think that Claude was gaslighting me.