ios - CloudKit: are reliable realtime updates possible? -
i have ckdatabasesubscription
set up, shouldsendcontentavailable
set true, , soundname
set empty string.
it works great - except when user has 'background app refresh' turned off on device - notifications not received, unless device charging. seems expected behaviour, given shouldsendcontentavailable
flag.
i don't mind background updates never come through, seems 2 devices side side, app in foreground, changes on 1 device not forwarded other when background app refresh disabled.
that unfortunate, although seems edge case user have app open on both devices , setting disabled. still nice fix edge case though.
i manually check changes every once in while, seems wasteful, since edge cases need this. has discovered way reliably receive these notifications while app in foreground, background app refresh disabled? or perhaps there other way send , receive real time updates isn't obvious?
Comments
Post a Comment