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

Flutter plugin for Premium Ads (AdMob/AdManager adapter)

premium_ads (v0.2.6) #

Repository Setup Required: Due to Android Gradle Plugin 7+ limitations with dependencyResolutionManagement, you MUST add the Premium Ads Maven repository to your Flutter app's repository configuration.

⚠️ Critical: The plugin includes the repository in its own build.gradle, but AGP 7+ ignores module-level repositories by default.

Setup Instructions #

In your Flutter app's android/settings.gradle:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
    repositories {
        google()
        mavenCentral()
        maven { url "https://repo.premiumads.net/artifactory/mobile-ads-sdk/" }
    }
}

Option 2: Root build.gradle (For older templates) #

In your Flutter app's android/build.gradle:

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

Android configuration (auto-configured by plugin) #

Dependency:

implementation 'net.premiumads.sdk:admob-adapter:2.2.6'

iOS CocoaPods (auto-configured by plugin) #

This plugin's podspec depends on:

pod 'PremiumAdmobAdapter', '2.2.6'

Usage #

import 'package:premium_ads/premium_ads.dart';

// Enable debug mode (recommended for development)
await PremiumAds.setDebug(true);

// Disable debug mode (for production)
await PremiumAds.setDebug(false);

Learn More #

📚 Full Documentation & Guides: https://docs.premiumads.net/

Flutter plugin for Premium Ads (AdMob/AdManager adapter)

The official PremiumAds documentation provides comprehensive guides for:

Platform Support #

  • Android: Banner, Interstitial, App Open, Rewarded/Rewarded Interstitial
  • iOS: Banner, Interstitial, Rewarded/Rewarded Interstitial, Native

Advanced Features #

  • Mediation Integration: ironSource, Applovin MAX, Google AdMob, Google AdManager, AdMost, Appodeal
  • Third-party Integration: Tenjin and other attribution partners

Note: PremiumAds is a Google Certified Publishing Partner providing advanced ad monetization solutions.

0
likes
155
points
4
downloads

Publisher

verified publisherpremiumads.net

Weekly Downloads

Flutter plugin for Premium Ads (AdMob/AdManager adapter)

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on premium_ads

Packages that implement premium_ads