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

前端 未结 2 1302
盖世英雄少女心
盖世英雄少女心 2021-02-09 08:51

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:36

    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:38

    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)
提交回复
热议问题