AJGronevelt
AJGronevelt

Reputation: 561

iOS VoiP Push Notifications, XCode background modes not showing required option

I would like to enable VoiP Push notifications. To do this, it seems I have to activate the VoiP option in the background modes section of the capabilities tab, as shown below.

enter image description here

However, my background modes section doesn't offer this option at all, as can be seen in the screenshot below.

enter image description here

My push notifications are not working and I have implemented everything else correctly (I believe). I am just very confused that my background modes section looks different from anything I can find in tutorials/literature, does anyone have an idea? I run Xcode 9.0.

Upvotes: 2

Views: 2816

Answers (2)

Hasya
Hasya

Reputation: 9898

If you are using Xcode 9 then You can add it manually.

<key>UIBackgroundModes</key>
<array>
    <string>audio</string>
    <string>voip</string>
    <string>fetch</string>
    <string>remote-notification</string>
</array>

For more details, integrating VOIP with Swift or Objective C code you can refer

Upvotes: 3

ldehai
ldehai

Reputation: 604

Do you create VoIP Services Certificate for your app? voip[1

Upvotes: 0

Related Questions