This repository is an example project of how to integrate Callkit into Vonage iOS SDK. Integrated with WhatsApp type picture-in-picture UI.
- Vonage VideoChat Integration.
- Callkit configured with Vonage API.
- WhatsApp type picture-in-picture UI.
Use CocoaPods to install the project files and dependencies.
- Install CocoaPods as described in CocoaPods Getting Started.
- In Terminal,
cd
to your project directory and typepod install
. (Sometimes,pod update
is magical) - Reopen your project in Xcode using the new
*.xcworkspace
file.
- The application requires values for API Key, Session ID, and Token. In the sample, you can get these values at the Vonage Dashboard. For production deployment, you must generate the Session ID and Token values using one of the Vonage Server SDKs.
- Replace the following empty strings with the corresponding API Key, Session ID, and Token values in
.xcconfig
. - Configure VOIP certificate to Project. Create it from apple developer account.
- Use Xcode to build and run the app on an iOS simulator or device.
You will need a device to test the followings
Simulate an incoming call The Home screen is visible till no incoming calls received. To make it working, Fire VOIP push notificaiton to the application and accept the call.
**Use Pusher for VOIP push **