Offerwall SDK for Flutter
Integrate the RewardingHub offerwall in your Flutter app in under 5 minutes. Full documentation with code examples.
Quick Install
flutter pub add rewardinghub_sdkPackage manager: pub.dev
Requirements
Flutter 3.10+. Dart 3.0+. Android and iOS.
Initialization
import 'package:rewardinghub_sdk/rewardinghub_sdk.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await RewardingHub.init('YOUR_APP_ID', 'YOUR_API_KEY');
runApp(MyApp());
}Usage
// Show the offerwall
await RewardingHub.showOfferwall(userId: userId);
// Listen for rewards
RewardingHub.onReward.listen((reward) {
print('Earned ${reward.amount} ${reward.currency}');
});
// Check availability
final available = await RewardingHub.isAvailable();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 Flutter SDK integration take?
Most developers complete the Flutter integration in under 5 minutes. The SDK handles UI rendering and offer management automatically.
Is the Flutter SDK free?
Yes. The SDK is completely free for publishers. We operate on a 70% revenue share model.
What are the minimum requirements?
Flutter 3.10+. Dart 3.0+. Android and iOS.
Ready to Integrate?
Get your API key and start earning revenue from your Flutter app today.