Not receiving CloudKit push notifications for Custom Record Zone on the Mac

前端 未结 2 632
日久生厌
日久生厌 2021-02-09 08:40

I\'ve setup a custom zone subscription to receive (silent) push notifications from my custom record zone. Everything works fine on my iOS devices but I\'m not able to receive th

相关标签:
2条回答
  • 2021-02-09 09:27

    I think it's fixed with macOS Sierra. Working for me now.

    Edit: Oh wow: just noticed that I (!) asked this question 1,5y ago. :)

    0 讨论(0)
  • 2021-02-09 09:31

    Simply extracting the correct solution from one of the shared links: If you use a CKNotificationInfo for your alerts, didReceiveRemoteNotification will NOT be called on the Mac until and unless you set CKNotificationInfo.soundName to an empty string! This looks like a bug only in OS X (10.10 & 10.11 so far) but can be worked around by this simple change.

    0 讨论(0)
提交回复
热议问题