iOS Push Notification When app is killed

后端 未结 2 1525
面向向阳花
面向向阳花 2021-01-03 09:29

I was wondering how does WhatsApp handle the Video Push Notification when the app is killed from the background. Taking into consideration that the app icon is clicked and n

2条回答
  •  迷失自我
    2021-01-03 09:39

    You can do it using iOS VoIP Push Notifications. VoIP push enables apps to become active even in the background and forcefully killed by user. All voice and video calling application use this priority push service.

    Here is great Apple guide about Voice Over IP (VoIP) Best Practices. One of the main use case – use VoIP Push Notifications to Avoid Persistent Connections.

    In order to use VoIP pushes you have to connect iOS PushKit framework. You can config your own server or other third party provider.

提交回复
热议问题