https://github.com/saitawngpha/admob-kmp
Implement Admob into KMP Android and iOS
https://github.com/saitawngpha/admob-kmp
admob admob-banner admob-interstitial compose compose-multiplatform kmp kotlin swift swiftui
Last synced: about 1 month ago
JSON representation
Implement Admob into KMP Android and iOS
- Host: GitHub
- URL: https://github.com/saitawngpha/admob-kmp
- Owner: saitawngpha
- License: mit
- Created: 2024-09-16T08:32:55.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T08:46:33.000Z (8 months ago)
- Last Synced: 2025-02-11T14:24:43.090Z (3 months ago)
- Topics: admob, admob-banner, admob-interstitial, compose, compose-multiplatform, kmp, kotlin, swift, swiftui
- Language: Kotlin
- Homepage:
- Size: 854 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Admob for Kotlin Multiplatform
> Admob for Kotlin Multiplatform target Android and iOS## Dependencies
- Admob
- GoogleMobileAds (for iOS)
- Compose KMP
- SwiftUI (for iOS)## More Details Post
[Here](https://medium.com/stackademic/admob-integration-in-compose-multiplatform-02ea5e971584)## Demo
Android Banner Ads | Android Interstitial Ads
:-------------------------: | :-------------------------:|
![]()
iOS Banner Ads | iOS Interstitial Ads|
![]()
## Build Project
- Clone this project
- For iOS cd to iosApp directory and install cocoapods for GoogleMobileAds
```
cd iosApp
pod install --verbose
```
- run ```iosApp.xcworkspace``` instead of ```iosApp.xcodeproj```