⬇️Setting up the SDK
1. Add this to your settings.gradle file
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven { url = uri("https://storage.googleapis.com/caterpillar-libs-bucket/") }
}
}
2. Add this to your build.gradle file
Add the below line inside the dependencies block in your build.gradle file
implementation('com.pubscale.sdkone:offerwall:1.0.5')
3. Clean build and Rebuild the project
4. Configure proguard rules
For the SDK to work properly in release(obfuscated/minified) builds, add the following rules in your proguard-rules.pro file.
-keep class com.pubscale.sdkone.offerwall.** {*;}
#Supporting R8 full mode
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response
We have added the SDK to the project. Learn how to initialize the SDK in the next step
Last updated