adnova_flutter 1.0.2
adnova_flutter: ^1.0.2 copied to clipboard
AdNova Mobile SDK for Flutter - Monetize your Flutter apps with targeted banner and native ads.
adnova_flutter #
Official AdNova Mobile SDK for Flutter apps. Easily monetize your Flutter applications with targeted Banner, Native, and Rewarded video ads.
Features #
- Banner Ads: Easy-to-use
AdNovaBannerAdwidget. - Rewarded Ads: Full-screen rewarded video ads with countdown timer and completion callbacks.
- Impression Tracking: Automatic revenue calculation and impression tracking.
Getting Started #
In your pubspec.yaml:
dependencies:
adnova_flutter: ^1.0.0
Usage #
Initialize SDK #
import 'package:adnova_flutter/adnova_flutter.dart';
void main() {
AdNovaSDK.initialize(
baseUrl: 'https://nrejobcuwoqhxmqubmun.supabase.co',
publisherId: 'your_publisher_id',
);
runApp(const MyApp());
}
Display Banner Ad #
AdNovaBannerAd(
placementId: 'placement_banner_01',
)
Show Rewarded Ad #
AdNovaRewardedAd.show(
context: context,
placementId: 'placement_rewarded_01',
onRewarded: () {
print('User earned the reward!');
},
);
Additional Information #
For more documentation, visit AdNova Platform.