CloudKitPersistentContainer notifications issues

Hi the problem I have is that when my app is open on multiple devices it doesn't always receive or send CloudKit notifications.

(Just pressing home button and reopen the app triggers a refresh but I want my app to be "live" even if it is always open)

I have also tried to do some updates on cloudkit records from the dashboard, but even there I get the same problem

The strange thing is that sometimes it works perfectly while sometimes it doesn't.

What I want to ask is if this is normal or if I have to continue searching for a problem in my app.

Thank you so much!
Answered by Ventus218 in 622322022
I have also noticed that sometimes notifications works only one way, and rebooting the "not-receiving-notifications"device solves the problem
Accepted Answer
I have also noticed that sometimes notifications works only one way, and rebooting the "not-receiving-notifications"device solves the problem
I have the same issue. I have to close the app down and start it again and it will sync on open just the once then stop again. It's a real hassle as I am trying to simulate a situation where the user will have the app open say on the Mac in Catalyst and the iPad which I think is a common scenario.
Update: I have discovered that switching the app to the background and then bringing back to the foreground will re-start sync. My app supports scenes is this somehow related?
CloudKitPersistentContainer notifications issues
 
 
Q