Installation
Install the Client SDK for your target platform before creating a session.
Platform Requirements
| Platform | Minimum Version | Required Permissions |
|---|---|---|
| Android | SDK 23 (Android 6.0) | INTERNET, RECORD_AUDIO |
| iOS | iOS 15.0 | Microphone usage (NSMicrophoneUsageDescription in Info.plist) |
| Web | Modern 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.
- Ensure Maven Central is available in your repositories:
kotlin
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}- Add the Voice SDK dependency:
kotlin
dependencies {
implementation("com.vonage:client-sdk-voice:latest.release")
}- 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+).