premium_ads 1.0.1 copy "premium_ads: ^1.0.1" to clipboard
premium_ads: ^1.0.1 copied to clipboard

retracted

Flutter plugin to integrate PremiumAds mediation adapter for AdMob/AdManager (Android & iOS).

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:premium_ads/premium_ads.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await PremiumAds.initialize();
  final status = await MobileAds.instance.initialize();

  for (final entry in status.adapterStatuses.entries) {
    print('Adapter: ${entry.key}, status: ${entry.value.description}');
  }

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'PremiumAds Example',
      home: Scaffold(
        appBar: AppBar(title: const Text('PremiumAds Mediation Plugin')),
        body: const Center(child: Text('AdMob Mediation Ready')),
      ),
    );
  }
}
0
likes
0
points
4
downloads

Publisher

verified publisherpremiumads.net

Weekly Downloads

Flutter plugin to integrate PremiumAds mediation adapter for AdMob/AdManager (Android & iOS).

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, google_mobile_ads

More

Packages that depend on premium_ads

Packages that implement premium_ads