⬇️Setting up the SDK

1. 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.7')

2. Clean build and Rebuild the project

3. Configure proguard rules

For the SDK to work properly in release(obfuscated/minified) builds, add the following rules in your proguard-rules.pro file.

proguard-rules.pro

-keep class com.pubscale.sdkone.offerwall.** {*;}
-keep class com.pubscale.caterpillar.analytics.** {*;}
#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