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