SDK - Offerwall
Offerwall Integration
Prerequisite: Complete the SDK Installation first.
The Offerwall displays a full-screen WebView with all available campaigns. The SDK manages the entire UI — you just launch it.
1. Manifest Configuration
Add the Offerwall activity to your AndroidManifest.xml:
<activity android:name="io.mychips.offerwall.controller.MCOfferwallActivity"
android:theme="@style/Theme.AppCompat.NoActionBar"/>2. Display the Offerwall
import io.mychips.offerwall.controller.MCOfferwallController
val mc = MCOfferwallController(this)
mc.Show("AD_UNIT_ID")import io.mychips.offerwall.controller.MCOfferwallController;
MCOfferwallController mc = new MCOfferwallController(this);
mc.Show("AD_UNIT_ID");Replace
AD_UNIT_IDwith your Ad unit ID from the Developer Portal.
3. (Optional) Customize Toolbar Title
MCOfferwallSDK.SetToolbarTitle("My Rewards");If no title is set, the toolbar remains blank.
Last updated