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).

PremiumAds Flutter Plugin #

A Flutter plugin to integrate the PremiumAds mediation adapter into AdMob/AdManager on Android and iOS.

Features #

  • Supports Google AdMob / Google AdManager mediation
  • Easy integration with PremiumAds adapter
  • Compatible with both Android and iOS

Getting Started #

Installation #

Add this to your pubspec.yaml:

dependencies:
  premium_ads: ^0.0.1

Then run:

flutter pub get

Android Setup #

Ensure the following is in your root android/build.gradle:

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url "https://repo.premiumads.net/artifactory/mobile-ads-sdk/" }
    }
}

And in your plugin module:

dependencies {
    implementation 'com.google.android.gms:play-services-ads:24.4.0'
    implementation 'net.premiumads.sdk:admob-adapter:2.2.6'
}

iOS Setup #

In your ios/Podfile, no manual changes are needed if you use CocoaPods correctly. The plugin depends on:

pod 'PremiumAdmobAdapter', '2.2.6'

Example #

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

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await PremiumAds.initialize();
  await MobileAds.instance.initialize();
}

License #

MIT

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