@Frameworks Engineer @simonbs
For widget push update to work you need your own server which needs to initiate this push notification, which will send to APNS (Apple Push Notification Server)
Then APNS will send to the relevant devices
Your server can't send a push notification for every data change, somehow you need to have a way to collate because it is budgeted
Questions
For this to even work in your case, How does you need to configure the server? (because your data is stored in CloudKit)?
How will your server be aware of any data changes, should the app send HTTP request to your server then your server initiates the push notification?
Or can you do this even without a server by the app directly talking to APNS (I don't think it is possible)?
My understanding (please confirm / clarify)
To keep widget data up to date:
I feel it needs to be a combination of all 4
TimelineReloadPolicy
When your app is open it can reload timelines
When your app is open and data changes on a different device then observe cloudkit sync notifications and reload timeline
Widget Push Updates - needs your own server with some logic on your end, where your server think enough data has changed over time to initiate a push notification and your app needs to handle this.
1, 2, and 3 are can be entirely done on the app side. 4 needs server side work and app work.