Skip to content

Commit f1cfef4

Browse files
authored
Merge pull request #79 from amirisback/develop/fixing-bug-ump
DEVEOP :: Fixing Bug UMP on release production
2 parents ddfeed1 + 59c3a06 commit f1cfef4

File tree

6 files changed

+35
-24
lines changed

6 files changed

+35
-24
lines changed

.github/workflows/android-ci-generated-artifact.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v3
2222

2323
# Set Current Date As Env Variable
2424
- name: Set current date as env variable
@@ -29,9 +29,11 @@ jobs:
2929
run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
3030

3131
- name: Set Up JDK
32-
uses: actions/setup-java@v1
32+
uses: actions/setup-java@v3
3333
with:
34-
java-version: 17
34+
distribution: 'zulu' # See 'Supported distributions' for available options
35+
java-version: '17'
36+
cache: 'gradle'
3537

3638
- name: Change wrapper permissions
3739
run: chmod +x ./gradlew

.github/workflows/android-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- uses: actions/checkout@v1
26+
- uses: actions/checkout@v3
2727

2828
# Set Current Date As Env Variable
2929
- name: Set current date as env variable
@@ -32,11 +32,13 @@ jobs:
3232
# Set Repository Name As Env Variable
3333
- name: Set repository name as env variable
3434
run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
35-
35+
3636
- name: Set Up JDK
37-
uses: actions/setup-java@v1
37+
uses: actions/setup-java@v3
3838
with:
39-
java-version: 17
39+
distribution: 'zulu' # See 'Supported distributions' for available options
40+
java-version: '17'
41+
cache: 'gradle'
4042

4143
- name: Change wrapper permissions
4244
run: chmod +x ./gradlew

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@
2121
- Green : Success / Pass (Use It)
2222

2323
## ScreenShot Apps
24-
| Banner and Interstitial | RecyclerView with Banner | Rewarded Apps |
25-
|:------------------------------------------------------------------:|:------------------------------------------------------------------:|:------------------------------------------------------------------:|
26-
| <img width="200px" height="360px" src="docs/image/ss_image_1.png"> | <img width="200px" height="360px" src="docs/image/ss_image_2.png"> | <img width="200px" height="360px" src="docs/image/ss_image_3.png"> |
24+
| Banner and Interstitial | RecyclerView with Banner |
25+
|:------------------------------------------------------------------:|:------------------------------------------------------------------:|
26+
| <img width="200px" height="360px" src="docs/image/ss_image_1.png"> | <img width="200px" height="360px" src="docs/image/ss_image_2.png"> |
27+
28+
| User Messaging Platform | Rewarded Apps |
29+
|:--------------------------------------------------------------:|:------------------------------------------------------------------:|
30+
| <img width="200px" height="360px" src="docs/image/ss-ump.jpg"> | <img width="200px" height="360px" src="docs/image/ss_image_3.png"> |
2731

2832
## Version Release
2933

30-
$version_release = 5.3.0
34+
$version_release = 5.3.1
3135

3236
// Suport Library
3337
$admob_version = 22.1.0 // https://developers.google.com/admob/android/sdk
@@ -79,16 +83,16 @@ allprojects {
7983
implementation 'com.unity3d.ads:unity-ads:${unity_ad_version}'
8084

8185
// library frogo-admob (Required - Recomended)
82-
implementation 'com.github.amirisback:frogo-admob:5.3.0'
86+
implementation 'com.github.amirisback:frogo-admob:5.3.1'
8387

8488
// -----------------------------------------------------------------------------------------
8589
// For Single Library Patch
8690

8791
// library frogo-admob (Admob Only)
88-
implementation 'com.github.amirisback.frogo-admob:ad-admob:5.3.0'
92+
implementation 'com.github.amirisback.frogo-admob:ad-admob:5.3.1'
8993

9094
// library frogo-admob (Unity Ads Only)
91-
implementation 'com.github.amirisback.frogo-admob:ad-unityad:5.3.0'
95+
implementation 'com.github.amirisback.frogo-admob:ad-unityad:5.3.1'
9296
}
9397

9498
#### <Option 2> Kotlin DSL
@@ -101,16 +105,16 @@ allprojects {
101105
implementation("com.unity3d.ads:unity-ads:${unity_ad_version}")
102106

103107
// library frogo-admob (Required - Recomended)
104-
implementation("com.github.amirisback:frogo-admob:5.3.0")
108+
implementation("com.github.amirisback:frogo-admob:5.3.1")
105109

106110
// -----------------------------------------------------------------------------------------
107111
// For Single Library Patch
108112

109113
// library frogo-admob (Admob Only)
110-
implementation("com.github.amirisback.frogo-admob:ad-admob:5.3.0")
114+
implementation("com.github.amirisback.frogo-admob:ad-admob:5.3.1")
111115

112116
// library frogo-admob (Unity Ads Only)
113-
implementation("com.github.amirisback.frogo-admob:ad-unityad:5.3.0")
117+
implementation("com.github.amirisback.frogo-admob:ad-unityad:5.3.1")
114118

115119
}
116120

ad-admob/src/main/java/com/frogobox/admob/core/FrogoAdConsent.kt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,22 @@ object FrogoAdConsent {
2424

2525
fun showConsent(callback: IFrogoAdConsent) {
2626

27-
val consentInformation: ConsentInformation =
28-
UserMessagingPlatform.getConsentInformation(callback.activity())
29-
30-
val debugSettings = ConsentDebugSettings.Builder(callback.activity())
31-
.setDebugGeography(ConsentDebugSettings.DebugGeography.DEBUG_GEOGRAPHY_EEA)
32-
.addTestDeviceHashedId("TEST-DEVICE-HASHED-ID").setForceTesting(true).build()
27+
val consentInformation: ConsentInformation = UserMessagingPlatform.getConsentInformation(callback.activity())
3328

3429
// Set tag for underage of consent. false means users are not underage.
3530
val params = if (callback.isDebug()) {
31+
32+
val debugSettings = ConsentDebugSettings.Builder(callback.activity())
33+
.setDebugGeography(ConsentDebugSettings.DebugGeography.DEBUG_GEOGRAPHY_EEA)
34+
.addTestDeviceHashedId("TEST-DEVICE-HASHED-ID")
35+
.setForceTesting(true)
36+
.build()
37+
3638
ConsentRequestParameters.Builder()
3739
.setTagForUnderAgeOfConsent(callback.isUnderAgeAd())
3840
.setConsentDebugSettings(debugSettings)
3941
.build()
42+
4043
} else {
4144
ConsentRequestParameters.Builder()
4245
.setTagForUnderAgeOfConsent(callback.isUnderAgeAd())

buildSrc/src/main/kotlin/ProjectSetting.kt

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

2626
const val VERSION_MAJOR = 5
2727
const val VERSION_MINOR = 3
28-
const val VERSION_PATCH = 0
28+
const val VERSION_PATCH = 1
2929

3030
// ---------------------------------------------------------------------------------------------
3131

docs/image/ss-ump.jpg

60.2 KB
Loading

0 commit comments

Comments
 (0)