Skip to content

Installation

Install the Client SDK for your target platform before creating a session.

Platform Requirements

PlatformMinimum VersionRequired Permissions
AndroidSDK 23 (Android 6.0)INTERNET, RECORD_AUDIO
iOSiOS 15.0Microphone usage (NSMicrophoneUsageDescription in Info.plist)
WebModern browsers with WebRTC support (Chrome 70+, Firefox 60+, Safari 14.1+, Edge 79+)Microphone access (prompted via browser)

Version pinning in production

The examples below use latest.release (Android) and @latest (CDN) for simplicity. In production applications, always pin to a specific version (e.g., com.vonage:client-sdk-voice:2.3.1 or @vonage/client-sdk@2.3.1) to ensure reproducible builds and avoid unexpected breaking changes on upgrade. Check the Changelog for release notes before upgrading.

  1. Ensure Maven Central is available in your repositories:
kotlin
dependencyResolutionManagement {
    repositories {
        mavenCentral()
    }
}
  1. Add the Voice SDK dependency:
kotlin
dependencies {
    implementation("com.vonage:client-sdk-voice:latest.release")
}
  1. Add required permissions to your AndroidManifest.xml:
xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />

INFO

You must also request RECORD_AUDIO at runtime before making or answering calls (Android 6.0+).

Built with VitePress.