Skip to content

plivo/PlivoVoiceKit-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Plivo

Swift Platforms CocoaPods Compatible Carthage Compatible CocoaPods compatible Swift Package Manager

PlivoVoiceKit iOS SDK

The Plivo iOS SDK v3 allows you to make outgoing and receive incoming calls in your iOS application. It supports Pushkit and Callkit, hence eliminating the need for persistent connections to receive incoming calls. The SDK currently supports iOS versions 10 and above, including iOS 12. It supports both IPv4, IPv6 networks for performing inbound and outbound calls..

Requirements

Platform Minimum Swift Version Installation Status
iOS 10.0+ / macOS 10.14+ 5.1 CocoaPods, Swift Package Manager Fully Tested

Installation

IMPORTANT: MAKE sure to install Git LFS before installing the pod. The size of WebRTC.xcframework in PlivoWebRTC folder must be over 600 MB. If the size of the loaded PlivoWebRTC framework is smaller than 600 MB, check the Git Large File Storage settings and download again.

SDK dependencies

  • WebRTC framework, which can be integrated by CocoaPods, SPM, or manual set-up.

Getting started

This section gives you information you need to get started with PlivoVoiceKit SDK for iOS.

Install Calls SDK

To use PlivoVoiceKit Calls, first add our custom-built WebRTC framework to the project. Git Large File Storage must be installed to use the WebRTC framework along with the PlivoVoiceKit framework.

  • Run brew install git-lfs in the project directory.

CocoaPods

Add below into your Podfile.

platform :ios, '12.0'
use_frameworks!

target YOUR_PROJECT_TARGET do
  pod 'PlivoVoiceKit'
  pod 'PlivoWebRTC'
end

Install WebRTC Framework through CocoaPods.

pod install

Now you can see installed PlivoVoiceKit framework by inspecting YOUR_PROJECT.xcworkspace.

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but PlivoVoiceKit does support its use on supported platforms.

Once you have your Swift package set up, adding PlivoVoiceKit as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/plivo/plivo-ios-sdk-webrtc.git", .upToNextMajor(from: "3.0.0")),
    .package(url: "https://github.com/plivo/plivo-webrtc-ios.git", .upToNextMajor(from: "1.0.))
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages