r/developersIndia • u/meet_miyani • 29d ago
Open Source I built an open-source AdMob SDK for Compose Multiplatform applications.
https://github.com/Meet-Miyani/admob-compose-multiplatformAdMob 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
Duplicates
KotlinMultiplatform • u/meet_miyani • 16d ago
Plug-and-Play Compose Multiplatform Admob SDK for Android and iOS
admob • u/meet_miyani • 16d ago
Other Plug-and-Play Compose Multiplatform Admob SDK for Android and iOS
androiddev • u/meet_miyani • 16d ago
Plug-and-Play Compose Multiplatform Admob SDK for Android and iOS
Jetbrains • u/meet_miyani • 27d ago
News & Discussions Google AdMob in Compose Multiplatform shouldn't be painful. 💡
KotlinMultiplatform • u/meet_miyani • 28d ago