Setting up the SDK
1. Add this to your settings.gradle file
2. Add this to your build.gradle file
Add the below line inside the dependencies block in your build.gradle file
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.
proguard-rules.pro
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