Setting up Android Studio

In order to use the Voice & Video SDK within your project, you need to have the LP-Messaging-SDK for Android preconfigured and set up in your project (minimum required version is v2.0). Please take a look at the Official Documentation for further information.

NOTE: Gradle installation is currently not publicly available as this SDK is in BETA!

To add the SDK to your project, just add the following dependency to your build.gradle:

    compile 'com.liveperson:coapp:LATEST@aar'

Manual Installation

If you do not want to use dependency management you can add the desired Android SDK archive *.aar file manually. Just add the coapp-release.aar to the project's libs folder and adjust your Gradle build file like shown below:

...
android {
    ...
    repositories {
        ...
        flatDir {
            dirs 'libs' // i.e. if LPCoapp-SDK-Android-0.1.0-release.aar resides in <your-project>/libs
        }
    }
}

dependencies {
    ...
    compile(name:'LPCoapp-SDK-Android-0.1.0-release', ext:'aar')
    // add 3rd-party dependency for Dexter as well
    compile 'com.karumi:dexter:2.3.1'
}

Hint: If you have trouble integrating the SDK in your project you should take a look at our Sample App project which is already preconfigured and ready to go.

Next steps

After the SDK is added as a dependency to your app's project, you can now proceed with our Integration Guide to see how to use the Voice & Video SDK in your code, enable Push Notifications, start a call, and more.