Skip to content

feat: extend AnyManagerSDK with Line, Meta, Mintegral, Moloco, Pangle and Unity mediation adapters - #2

Open
Narender84 wants to merge 1 commit into
releasefrom
feat/AnyManagerSDK-SPM
Open

feat: extend AnyManagerSDK with Line, Meta, Mintegral, Moloco, Pangle and Unity mediation adapters #2
Narender84 wants to merge 1 commit into
releasefrom
feat/AnyManagerSDK-SPM

Conversation

@Narender84

Copy link
Copy Markdown
Collaborator

Summary

  • Extends the local SPM package AnyManagerSDK with four additional
    Google-published mediation adapters, bringing the bundled set from six to
    eight alongside Google Mobile Ads.
  • Updates AnyManagerSDK/Package.swift to declare the four new upstream package
    dependencies and wire their adapter products into
    AnyManagerSDKTarget.dependencies: so consumers continue to get every adapter
    through one AnyManagerSDK product.
  • Adds the following four adapter products alongside the existing six:
    • Line (LineAdapterTarget)
    • Meta / Facebook Audience Network (MetaAdapterTarget)
    • Mintegral (MintegralAdapterTarget)
    • Moloco (MolocoAdapterTarget)
    • Pangle (PangleAdapterTarget)
    • Unity (UnityAdapterTarget)
  • Regenerates AnyManagerSDK/Package.resolved so the lockfile matches the
    expanded dependency graph (new pins for each of the four new upstream packages
    plus any transitive native SDKs they pull in).
  • Refreshes README.md so the package contents and project structure sections
    reflect the full eight-adapter set.

Why

The previous commit shipped AnyManagerSDK as a one-stop local SPM wrapper for
Google Mobile Ads + six mediation adapters. Consuming targets still had to
re-import four more Google-published mediation adapters (Line, Meta,
Mintegral, Moloco, Pangle, Unity) by hand through individual SPM URLs —
duplicating the per-app wiring that the local package was created to
eliminate.

This change brings the remaining adapters under the same single AnyManagerSDK
product, so consumers:

  • Add the package once via Xcode's Add Local package flow.
  • Pin adapter versions in exactly one place (Package.swift), not per-app.
  • Get all eight mediation adapters transitively, without enumerating each
    upstream URL.

Adding these under one package also makes future adapter bumps (e.g. Meta 6.x,
Unity 5.x) a one-file change instead of a per-adapter PR review across each
consuming app.

Test plan

  • Package.swift matches the existing adapter entry style (snake_case url,
    from: minimum-version pinning, .product(name:..., package:...) selector)
  • AnyManagerSDKTarget still exposes a single library(name: "AnyManagerSDK",
    targets: ["AnyManagerSDKTarget"]) product — no public API surface change
  • platforms: [.iOS(.v13)] unchanged; no iOS deployment target bump
  • README Package Contents lists all 8 mediation adapters in the same bullet
    format
  • swift package describe parses cleanly and reports the expanded
    direct-dependency set (GoogleMobileAds + AppLovin, Chartboost, DTExchange,
    InMobi, IronSource, LiftoffMonetize, Line, Meta, Mintegral, Moloco, Pangle,
    Unity)
  • Package.resolved regenerated and resolves cleanly — new pins for the four
    added packages plus their transitive native SDKs
  • First real build: open the local package in Xcode 16+, confirm AnyManagerSDK
    resolves, and run the AnyManagerSDKTests test target on an iOS 18 simulator
  • First integration build: drop the package into a consuming app, build for
    iOS Simulator + Device, and confirm all eight adapter frameworks (AppLovin,
    Chartboost, DTExchange, InMobi, IronSource, LiftoffMonetize, Line, Meta,
    Mintegral, Moloco, Pangle, Unity) link

Breaking changes

None — purely additive. The package already existed; this change only widens
its dependency graph. CocoaPods consumers continue to use the podspec as
before. SwiftPM consumers get four more adapters transitively without any
product-surface change.

Checklist

  • No debug statements or commented-out code left in
  • Docs updated (README documents the full eight mediation adapters)
  • Repo convention: existing from: / .product(name:..., package:...) style
    preserved across all new adapter entries
  • Single public product surface (AnyManagerSDK) — no new products exposed to
    consumers
  • Lockfile (Package.resolved) regenerated to match the new graph

… and Unity mediation adapters

Expand the local SPM package to bundle four additional Google-published mediation adapters alongside the existing AppLovin, Chartboost, DTExchange, InMobi, IronSource and LiftoffMonetize integrations.

  - IronSource (IronSourceAdapterTarget)
  - LiftoffMonetize (LiftoffMonetizeAdapterTarget)
  - Line (LineAdapterTarget)
  - Meta / Facebook Audience Network (MetaAdapterTarget)
  - Mintegral (MintegralAdapterTarget)
  - Moloco (MolocoAdapterTarget)
  - Pangle  (PangleAdapterTarget)
  - Unity (UnityAdapterTarget)

Updates Package.swift to declare the four new upstream package dependencies
and wire their adapter products into AnyManagerSDKTarget, and refreshes
README.md so the package contents and project structure reflect the new
adapters.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Narender84 Narender84 self-assigned this Aug 24, 2026
@Narender84 Narender84 added the enhancement New feature or request label Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant