Skip to content

Commit 01c2df1

Browse files
author
Almaren
committed
v1.0.2: Admob Mediation has been added. UnityAds mediated by Admob, and
also can be used as standalone.
1 parent 652421f commit 01c2df1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* *My library not a mediation. Without control of mediated ads price.*
99

1010
Implemented ad types: interstitials, rewarded.
11-
Ad networks: UnityAds (mediated or standalone), UnityMediation, SuperAwesome, Kidoz, IronSource.
11+
**Ad networks: Admob, UnityAds (mediated or standalone), Admob Mediation, Unity Mediation, SuperAwesome, Kidoz, IronSource.**
1212
Written in **Kotlin**. No UI sample. Android library.
1313

1414
**My library will organize your common use cases for each ad network implementation that you will add.**

Diff for: library/src/main/kotlin/com/almatime/lib/ads/AdUnitBaseHandler.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ abstract class AdUnitBaseHandler(val activity: Activity) : OnAdStateChange {
8787
val sortedAdSources = getSortedAdSources()
8888
if (adSourceIndex > adSources.size - 1 || adSourceIndex < 0) return false
8989

90-
return adSources[sortedAdSources[adSourceIndex]]?.let { adSource -> // todo fix IndexOutOfBoundsException
90+
return adSources[sortedAdSources[adSourceIndex]]?.let { adSource ->
9191
if (adSource.isLoaded()) {
9292
adSource.show()
9393
true

Diff for: local.properties

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
# header note.
77
#Tue May 25 17:30:42 EEST 2021
88
sdk.dir=/home/ataman/IDE/Android/SDK
9+
# todo set id
910
admobId=todo set your id

0 commit comments

Comments
 (0)