Apple rejection after implementing silent notifications with PushKit

后端 未结 3 582
野趣味
野趣味 2021-01-03 04:12

We added silent notifications which require PushKit and enabling VoIP in the Info.plist

See Apple\'s PushKit Doc

Now my app is rejected by Apple:

3条回答
  •  忘掉有多难
    2021-01-03 04:52

    You should likely be using iOS Service Extensions to decrypt the message. https://developer.apple.com/reference/usernotifications/unnotificationserviceextension

    You use this extension to modify the notification’s content or download content related to the extension. For example, you could use the extension to decrypt an encrypted data block or to download images associated with the notification.

    You can also learn more about how this works at this WWDC talk. https://developer.apple.com/videos/play/wwdc2016/707/

    Implementing VoIP features to do this is complete overkill.

提交回复
热议问题