Skip to content

Commit c6bc28c

Browse files
committed
Release v4.1.9
1 parent 3b3e2ed commit c6bc28c

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
## Version Release
2727

28-
$version_release = 4.1.8
28+
$version_release = 4.1.9
2929

3030
What's New??
3131

@@ -70,7 +70,7 @@ allprojects {
7070
implementation 'com.google.android.gms:play-services-ads:${latest_version}'
7171

7272
// library frogo-admob-helper
73-
implementation 'com.github.amirisback:frogo-admob:4.1.8'
73+
implementation 'com.github.amirisback:frogo-admob:4.1.9'
7474
}
7575

7676
#### <Option 2> Kotlin DSL
@@ -80,7 +80,7 @@ allprojects {
8080
implementation("com.google.android.gms:play-services-ads:${latest_version}")
8181

8282
// library frogo-admob-helper
83-
implementation("com.github.amirisback:frogo-admob:4.1.8")
83+
implementation("com.github.amirisback:frogo-admob:4.1.9")
8484
}
8585

8686
### Step 3. Adding meta-data on AndroidManifest.xml

app/src/main/java/com/frogobox/appadmob/mvvm/main/AboutUsActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package com.frogobox.appadmob.mvvm.main
22

33
import android.os.Bundle
44
import com.frogobox.admob.ui.FrogoSdkAdmobActivity2
5+
import com.frogobox.appadmob.R
56
import com.frogobox.appadmob.databinding.ActivityAboutUsBinding
67

78
class AboutUsActivity : FrogoSdkAdmobActivity2<ActivityAboutUsBinding>() {
@@ -16,6 +17,7 @@ class AboutUsActivity : FrogoSdkAdmobActivity2<ActivityAboutUsBinding>() {
1617

1718
override fun setupOnCreate(savedInstanceState: Bundle?) {
1819
setupDetailActivity("")
20+
binding.btnTestAds.setOnClickListener { showInterstitial(getString(R.string.admob_interstitial)) }
1921
}
2022

2123
}
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
xmlns:tools="http://schemas.android.com/tools"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
77
tools:context=".mvvm.main.AboutUsActivity">
88

9-
</androidx.constraintlayout.widget.ConstraintLayout>
9+
<Button
10+
android:id="@+id/btnTestAds"
11+
android:layout_width="wrap_content"
12+
android:layout_height="wrap_content"
13+
android:layout_centerInParent="true"/>
14+
15+
</RelativeLayout>

buildSrc/src/main/kotlin/ProjectSetting.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object ProjectSetting {
2424

2525
const val VERSION_MAJOR = 4
2626
const val VERSION_MINOR = 1
27-
const val VERSION_PATCH = 8
27+
const val VERSION_PATCH = 9
2828

2929
const val PROJECT_COMPILE_SDK = 31
3030
const val PROJECT_MIN_SDK = 21

frogoadmob/src/main/java/com/frogobox/admob/core/FrogoAdmob2.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ object FrogoAdmob2 {
3030

3131
private val TAG = "FrogoAdmob"
3232

33-
private lateinit var admobAppID: String
3433
private lateinit var mAdUnitIdInterstitial: String
3534
private lateinit var mAdUnitIdBanner: String
3635

@@ -93,7 +92,7 @@ object FrogoAdmob2 {
9392

9493
fun setupAdmobApp(context: Context) {
9594
MobileAds.initialize(context) {}
96-
FLog.d("App Id : $admobAppID")
95+
FLog.d("Admob mobile Ads Initialized")
9796
}
9897

9998
// ---------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)