SDK Documentation

Complete API reference and integration guides for the RewardingHub Offerwall SDK.

Supported Platforms

Core Concepts

Initialization

Call init with your App ID and API Key from your dashboard.

// Android (Kotlin)
RewardingHub.init(context, "YOUR_APP_ID", "YOUR_API_KEY")

// iOS (Swift)
RewardingHub.initialize(appId: "YOUR_APP_ID", apiKey: "YOUR_API_KEY")

// React Native
import { RewardingHub } from 'rewardinghub-sdk';
RewardingHub.init('YOUR_APP_ID', 'YOUR_API_KEY');

Showing the Offerwall

// Android
RewardingHub.showOfferwall(activity, userId)

// iOS
RewardingHub.showOfferwall(from: viewController, userId: userId)

// React Native
RewardingHub.showOfferwall(userId);

Reward Callbacks

Handle client-side via callbacks or server-side via postbacks (recommended).

Best Practices

Frequently Asked Questions

Which SDK version should I use?
Always use the latest version. We maintain backward compatibility.
Can I customize the offerwall UI?
Yes. The SDK supports theming for colors, fonts, and layout.
Is the SDK open source?
The client libraries are open source on GitHub.

Ready to Get Started?

Join 500+ publishers using RewardingHub to grow their games.