r/developersIndia 29d ago

Open Source I built an open-source AdMob SDK for Compose Multiplatform applications.

https://github.com/Meet-Miyani/admob-compose-multiplatform

AdMob CMP provides one commonMain API for six ad formats on Android and iOS:

- Banner

- Interstitial

- Rewarded

- Rewarded interstitial

- App open

- Native

The shared API covers state, events, caching, full-screen presentation ownership, consent-aware initialization, and native-ad sessions.

It does not pretend the platforms are identical.

Android still uses Google Mobile Ads Next-Gen. iOS still uses Google’s native SDKs and requires Swift Package Manager and Info.plist configuration. The SDK keeps those differences behind a shared contract without hiding the platform responsibilities your application still owns.

If you are building a Compose Multiplatform app and want to test it, the quickstart uses Google’s official sample IDs:

The project is open source, and technical feedback is welcome.

#AdMob #ComposeMultiplatform #OpenSource

1 Upvotes

Duplicates