Skip to content

mobile-simformsolutions/VonageVideoChatIOS

Repository files navigation

Callkit Integration with Vonage VideoChat API

Swift 5.0

This repository is an example project of how to integrate Callkit into Vonage iOS SDK. Integrated with WhatsApp type picture-in-picture UI.

Preview

alt text

Included Points

  • Vonage VideoChat Integration.
  • Callkit configured with Vonage API.
  • WhatsApp type picture-in-picture UI.

Use CocoaPods to install the project files and dependencies.

  1. Install CocoaPods as described in CocoaPods Getting Started.
  2. In Terminal, cd to your project directory and type pod install. (Sometimes, pod update is magical)
  3. Reopen your project in Xcode using the new *.xcworkspace file.

Configure and build the app

  1. 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.
  2. Replace the following empty strings with the corresponding API Key, Session ID, and Token values in .xcconfig.
  3. Configure VOIP certificate to Project. Create it from apple developer account.
  4. Use Xcode to build and run the app on an iOS simulator or device.

Exploring Project

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 **

demo