React Native
Offerwalls are in-app ads that incentivize users to take particular actions. In return, the user gets an in-app reward and the developer gets paid by the advertiser.
1. Add this to your build.gradle file
implementation("com.pubscale.sdkone:offerwall:1.0.11")implementation 'com.pubscale.sdkone:offerwall:1.0.11'2. Configure proguard rules
-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
3. Add native module files
3.1. Link the module


4. Initialize the SDK
Optional Parameters:
Parameter
Description
4.1. Making the Init call
5. Start the OfferWall
6. Setup S2S callbacks
7. Test the OfferWall
Last updated