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:
We have also faced same issue -
You can't use voip background mode unless you implement voip features.
Just implement IM(chat)
feature in your app then you will be capable to publish your
app at Appstore.
Good luck!
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.
Update on the resolution -
We installed a third party VoIP solution and implemented VoIP calls in our app. Awkward to be forced to add a feature but in our case it was right for our app.
In iTunesConnect submission page, under "App Review Information" "Notes" I had to state that we added a new feature VoIP calls, with steps to test VoIP calls. This caught the reviewers attention to the new VoIP call feature and the app passed.
When I added the new feature under "whats new in this version", the app continued to get rejected.