iOS 13.1 doesn't receive silent CloudKit notifications

My app uses CloudKit Query subscriptions and notifications as part of a CloudKit-based synchronization solution. This works perfectly with iOS 12, macOS 10.14 and even macOS 10.15 beta, but NOT with iOS 13.0, iOS 13.1 and TVOS 13.0.


Is this a known problem?


According to the documentation, nothing has changed with CloudKit subscriptions. Or did I miss something?

Accepted Reply

Handling of silent notifications has been changed a bit in iOS 13. To receive silent CKQuerySubscription notifications in iOS 13 and tvOS 13, the

soundName
and
alertBody
parameters of the
NotificationInfo
of
CKQuerySubscription
must not be set. After changing this, everything worked as before.

Replies

I found a similar problem with iOS 13.1.x where all CoreData with CloudKit sync does not work unless let the app go back to foreground again.

Reported with: FB7400379

Handling of silent notifications has been changed a bit in iOS 13. To receive silent CKQuerySubscription notifications in iOS 13 and tvOS 13, the

soundName
and
alertBody
parameters of the
NotificationInfo
of
CKQuerySubscription
must not be set. After changing this, everything worked as before.