Dashboard

Setting Up the SDK

Adding AppsPrize SDK to Your Application

First, declare the dependency for the AppsPrize SDK in your app’s module Gradle file (usually app/build.gradle).

android {
    dependencies {
        ...
        // You should add this line
        implementation 'com.appsamurai.appsprize:appsprize:<latest-version>'
        ...
    }
}

📘

Please do not forget to replace <latest-version>. The latest version is here.

🚧

AppsPrize SDK targets Android API level 23 (Android 6.0, Marshmallow) or higher.

🚧

Please note that you need to add Java 1.8 compatibility configuration as well. In your app’s module Gradle file (usually app/build.gradle), please add the following instructions:

android {
    compileOptions {
        // You should add these two lines
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

What’s Next