SDK/Integration
2026-02-06
by RewardingHub Team
React Native Offerwall Integration Guide
How to integrate the RewardingHub offerwall in your React Native application.
Install
npm install @rewardinghub/react-native-sdk
# or
yarn add @rewardinghub/react-native-sdkInitialize
import { RewardingHub } from '@rewardinghub/react-native-sdk';
useEffect(() => {
RewardingHub.init('YOUR_APP_ID', 'YOUR_API_KEY');
}, []);Show & Handle Rewards
await RewardingHub.showOfferwall(userId);
RewardingHub.onReward((reward) => {
console.log(`Earned ${reward.amount} ${reward.currency}`);
});Full API reference: React Native SDK Documentation
Frequently Asked Questions
Does it work with Expo?
Yes. Compatible with both bare React Native and Expo managed workflow.
Is TypeScript supported?
Yes. Full TypeScript definitions are included.