Sample app written in Kotlin that demonstrates video playback using the vdocipher android sdk.
For the java version, see here.
repositories {
// other repo, e.g. jcenter()
maven {
url "https://github.com/VdoCipher/maven-repo/raw/master/repo"
}
}
// use the latest available version
implementation 'com.vdocipher.aegis:vdocipher-android:1.28.6'
If you also need Google Cast integration for your app, add a dependency to the cast plugin as well.
Add the dependency in your cast app module's build.gradle
file.
def vdocipher_sdk_version = '1.28.6'
implementation 'com.vdocipher.aegis:vdocipher-android:' + vdocipher_sdk_version
implementation 'com.google.android.gms:play-services-cast-framework:16.2.0'
You also need to ensure Java 17 support is enabled by adding the following block to each of your app module's build.gradle
file inside the android
block:
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
Please send all issues and feedback to [email protected]