iOS 13 not getting VoIP Push Notifications in background

前端 未结 4 880
眼角桃花
眼角桃花 2020-12-31 16:50

I\'m developing a softphone in Swift using CallKit and PushKit. Before iOS 13, VoIP notifications were working perfectly. But after the iOS 13 update, my app isn\'t getting

4条回答
  •  猫巷女王i
    2020-12-31 17:39

    The documentation says:

    Typically, you keep the push registry object running for the duration of your app.

    Try to declare voipPushResgistry as a property of the AppDelegate, instead of a variable of the application(didFinishLaunchingWithOptions) function. Maybe it could help.

提交回复
热议问题