Skip to content

Releases: muhiro12/GoogleMobileAdsWrapper

2.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 03:02

Breaking changes

GoogleMobileAdsWrapper 2.0.0 introduces a SwiftUI-first native ad API and removes the 1.x controller instance, NativeAdSize, and buildNativeAd(_:) APIs.

try await GoogleMobileAdsController.start()
NativeAdView(adUnitID: adUnitID, layout: .compact)
NativeAdView(adUnitID: adUnitID, layout: .media)

Apps own the ad placement, background, padding, and size constraints. See the 2.0 migration guide before upgrading.

Improvements

  • Replace XIB layouts with code-built UIKit assets hosted in SwiftUI, using compact and media layouts.
  • Support natural sizing, bounded frames, Dynamic Type fallbacks, inherited tint, and eight-point fixed design dimensions.
  • Give Media videos up to 320 points of height while preserving their aspect ratio; prioritize media space over optional text in constrained placements.
  • Expose load and presentation states, explicit reloads, and shared asynchronous SDK initialization.
  • Add explicit Google UMP consent and privacy-options operations. The host app remains responsible for consent orchestration, ATT, audience configuration, and privacy disclosures.
  • Adopt Swift 6 and Google Mobile Ads SDK 13.10.0, with Google UMP SDK 3.1.0.
  • Begin Semantic Versioning. Automatic main releases increment the minor version; explicit versions support major and patch releases.

Verification

81 Swift Testing cases passed. Google-provided test ads were exercised on an iPhone Simulator, including static/video layouts, video playback, native-ad validator checks, AdChoices, reloads, CTA handoff, and constrained sizing. Physical-device, adopting-app, production consent, and mediation verification remain separate integration checks.

Full changelog: 1.4...2.0.0

1.4

1.4

Choose a tag to compare

@github-actions github-actions released this 13 Sep 05:51

Full Changelog: 1.3...1.4

1.3

1.3

Choose a tag to compare

@github-actions github-actions released this 24 Apr 10:09

Full Changelog: 1.2...1.3

1.2

1.2

Choose a tag to compare

@github-actions github-actions released this 18 Mar 03:04

Full Changelog: 1.1...1.2

1.1

1.1

Choose a tag to compare

@github-actions github-actions released this 18 Mar 01:38

Full Changelog: 1.0...1.1

1.0

1.0

Choose a tag to compare

@muhiro12 muhiro12 released this 11 Oct 19:21
1820cc8