So yesterday, I was having a problem getting push notifications for my CloudKit app I'm working on in my development environment.
Then for some reason, this morning, I started receiving push notifications again. Now during testing, pushes have suddenly stopped. I have an iPhone and an iPad here and I'm testing on both devices.
I see there are lots of threads similar to this when I searched but was unable to find one that had a suitable answer. Here's my configuration:
1) My app only uses the private database and is using a custom zone.
2) I'm using a CKRecordZoneSubscription for silent pushes.
shouldSendContentAvailable is set to YES.
After making changes on one device, the other device gets the push. Then suddenly pushes stop working. Both apps are connected on the same wifi.
As I'm typing this, I finally just got a push for a small change on one record probably 10 minutes after it happened on the other device. The delay seems very poor.
I'd expect syncing to work a little better than this, not sure if this is just in the development environment?
Then for some reason, this morning, I started receiving push notifications again. Now during testing, pushes have suddenly stopped. I have an iPhone and an iPad here and I'm testing on both devices.
I see there are lots of threads similar to this when I searched but was unable to find one that had a suitable answer. Here's my configuration:
1) My app only uses the private database and is using a custom zone.
2) I'm using a CKRecordZoneSubscription for silent pushes.
shouldSendContentAvailable is set to YES.
After making changes on one device, the other device gets the push. Then suddenly pushes stop working. Both apps are connected on the same wifi.
As I'm typing this, I finally just got a push for a small change on one record probably 10 minutes after it happened on the other device. The delay seems very poor.
I'd expect syncing to work a little better than this, not sure if this is just in the development environment?