unified_ads_admob 1.1.0
unified_ads_admob: ^1.1.0 copied to clipboard
AdMob (Google Mobile Ads) adapter for unified_ads. Add it to link only the AdMob (Google Mobile Ads) SDK into your Android and iOS app.
1.1.0 #
- README restyled (✨ Features, 🚀 Getting Started, 📖 Usage, …), with usage for interstitial pacing and ad-free mode
(
AdPacing,UnifiedAds.recordAction,UnifiedAds.setAdFree, all fromunified_ads1.1.0). No adapter code changes. - BREAKING (iOS): CocoaPods support is removed; iOS builds use Swift Package Manager only (the podspec is deleted). Requires Flutter >= 3.44 with SPM enabled and Xcode 26.2+. The deployment target is now set on the Runner target in Xcode. See the migration guide.
- iOS SDKs come from
swift-package-manager-google-mobile-ads13.11.0 (GoogleMobileAds) andswift-package-manager-google-user-messaging-platform3.1.0 (GoogleUserMessagingPlatform); versions unchanged. - Opt-in linking on iOS now works through SPM: the vendor SDK is declared only in this package's
Package.swift, soFlutterGeneratedPluginSwiftPackageresolves it only when the app depends on this package (checked againstPackage.resolvedin CI). - Meta (Facebook) bidding on iOS is now added as a Swift package to the Runner target instead of a pod line; see the setup doc and the migration guide.
- Pigeon bindings regenerated with pigeon ^29.0.8.
- Android: GMA Next-Gen
ads-mobile-sdk1.5.0 → 1.6.0 (no breaking changes; fixesonUserEarnedRewardarriving afteronAdDismissedFullScreenContent, the Activity context for mediated full-screen ads, and an R8 full-mode crash). - Android: banners set
bannerAdRefreshCallback, so an inline-adaptive banner that changes height on refresh is re-sized in Flutter (BannerSized). - iOS: with an opt-in Meta bidding adapter,
FBAdSettings.setAdvertiserTrackingEnabledis now set from the ATT status on iOS 15–16 (Meta requires it below iOS 17), through the Objective-C runtime as before. - README: package-specific, with setup, IDs, consent and error mapping; docs re-verified against Google's guides.
- No Dart API changes.
1.0.0 #
Initial release: the Google AdMob adapter for unified_ads.
- Banner, interstitial and rewarded ads behind the unified
AdNetworkAdaptercontract (Pigeon + Kotlin + Swift). - Rewarded interstitial and app open, on both platforms.
- Pinned SDKs: Android GMA Next-Gen
com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk1.5.0 +user-messaging-platform4.0.0 (it replaced the legacyplay-services-adsbefore release; seedoc/migration/1.0.0-admob-next-gen.md); iOSGoogle-Mobile-Ads-SDK13.11.0 +GoogleUserMessagingPlatform3.1.0 (CocoaPods and Swift Package Manager). - Adding this package links only this network's SDK. Apps without it never pull it in, which CI verifies.
AdmobConsentProvider: a Google UMP implementation ofConsentProvider(consent form, privacy options,canRequestAds, debug geography).- Adaptive, standard and inline banners.
- Test mode uses
NetworkConfig.testDeviceIds. - Meta (Facebook) bidding, opt-in. Add the vendor's Meta adapter to your app (Gradle, CocoaPods or Swift Package Manager). The adapter detects it, logs it at init, and forwards CCPA opt-out (Limited Data Use) and COPPA (mixed audience) to Audience Network before mediation starts. This package declares no Meta dependency. See the setup doc.
- Every native error maps to an
AdErrorwith the SDK's own code innativeCode.
Known limitations:
- The App ID must also be declared in
AndroidManifest.xmlandInfo.plist, because the SDK reads it at startup. - GMA Next-Gen can't coexist with the legacy
play-services-ads(for example, the officialgoogle_mobile_adsplugin). Apps whose other dependencies pull it must exclude it; the migration note has the Gradle snippet. - iOS sources compile only in CI (
flutter build ios --no-codesign) and have not yet run on a device.