⬇️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.
-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
5. Add native module files
Add the following files to your android app's module directory.
6. Link the module
Add the following line inside the getPackages() method of MainApplication class.
packages.add(new PubscaleOfferwallSdkPackage());

We have setup the SDK in the project. Learn how to initialize the SDK in the next step
Last updated