Reputation: 145
I am creating a VoIP related app. I have to also receive normal notifications. Can we use VoIP push for receiving normal push notification in iOS 13? If yes how can I handle this in "didReceiveIncomingPushWith" method?
Upvotes: 0
Views: 427
Reputation: 7400
No, you don't want to do this.
In iOS 13, Apple began enforcing when your app receives a VoIP push notification, your app needs to notify the user of the incoming call using a combination of PushKit and CallKit. If you don't properly handle the incoming push, your app will stop notifying the user of incoming calls, breaking your VoIP feature.
Upvotes: 2