Offerwall SDK for Android
Integrate the RewardingHub offerwall in your Android app in under 5 minutes. Full documentation with code examples.
Quick Install
implementation("com.rewardinghub:offerwall-sdk:2.4.0")Package manager: Gradle (Kotlin DSL)
Requirements
Min SDK 21+. Kotlin 1.8+ or Java 8+. AndroidX required.
Initialization
import com.rewardinghub.sdk.RewardingHub
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
RewardingHub.init(this, "YOUR_APP_ID", "YOUR_API_KEY")
}
}Usage
// Show the offerwall
RewardingHub.showOfferwall(activity, userId)
// Listen for rewards
RewardingHub.setRewardCallback { reward ->
Log.d("RH", "Earned ${reward.amount} ${reward.currency}")
}
// Check if offerwall is available
if (RewardingHub.isOfferwallAvailable()) {
// Show entry point
}Next Steps
- Set up server-to-server postbacks for secure reward delivery
- Explore the dashboard to monitor performance
- Read best practices for offerwall placement and timing
- Full API reference for advanced features
Frequently Asked Questions
How long does Android SDK integration take?
Most developers complete the Android integration in under 5 minutes. The SDK handles UI rendering and offer management automatically.
Is the Android SDK free?
Yes. The SDK is completely free for publishers. We operate on a 70% revenue share model.
What are the minimum requirements?
Min SDK 21+. Kotlin 1.8+ or Java 8+. AndroidX required.
Ready to Integrate?
Get your API key and start earning revenue from your Android app today.