We are thrilled to announce the launch of Plivo iOS SDK v2 in Public Beta. iOS SDK v2 enables you to make and receive calls in your iOS applications. This new version of the SDK is backward compatible and has few key enhancements to our previous iOS SDK.
Applications built using this version of the SDK can receive incoming calls using Apple VoIP Push notifications. Pushkit also eliminates the need for persistent connections to receive incoming calls thereby reducing device battery consumption by the application. Using Callkit, applications built on the new SDK can now handle VoIP calls with the same level of priority as that of a PSTN call.
Receiving an incoming call using Pushkit consists of two steps.
- Setting up your push credentials
- Handling the push notifications using Plivo SDK
We have created a few resources to help you with the above two steps. You can use this guide to set up your push credentials in the Plivo dashboard. You can refer to our SDK Reference for more information about APIs for handling the push notification.
This SDK is compatible with devices running iOS version 8 or more. We have made sure that the SDK is compatible with iOS 11 Developer preview. To help you get started we have also developed a full fledged sample application in Swift that implements all the features of the SDK.
You can get started with the SDK by installing it either manually or by using Cocoapods. For manual installation, download the SDK and refer to our installation guide. Alternatively you can use our Cocoapods to integrate your application with the SDK.
In case there is anything that we can help you with please reach out to us using our Support Center and we would be happy to help.