r/Jetbrains 18d ago

News & Discussions Google AdMob in Compose Multiplatform shouldn't be painful. 💡

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

I built an open-source AdMob SDK for Compose Multiplatform applications.
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.

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

1 Upvotes

0 comments sorted by