From bff43b010a7f81e0f21e617458e1398bbd7b4a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=B6khan=20YILMAZ?=
<40300901+yilmazgokhan@users.noreply.github.com>
Date: Thu, 17 Mar 2022 09:14:56 +0300
Subject: [PATCH] Update Huawei SDK Version (#6)
* Update Huawei Ads SDK version
* Update Readme file
---
.gitignore | 1 +
README.md | 10 +++++++---
admob_mediation/build.gradle | 2 +-
build.gradle | 13 -------------
4 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/.gitignore b/.gitignore
index aa724b7..3833e61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
*.iml
.gradle
/local.properties
+/.idea/*
/.idea/caches
/.idea/libraries
/.idea/modules.xml
diff --git a/README.md b/README.md
index 25a0fa7..c339bcb 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
Huawei-Admob Mediation Github Documentation
- ![Latest Version](https://img.shields.io/badge/latestVersion-1.2.7-yellow) ![Kotlin](https://img.shields.io/badge/language-kotlin-blue)
+ ![Latest Version](https://img.shields.io/badge/latestVersion-1.2.9-yellow) ![Kotlin](https://img.shields.io/badge/language-kotlin-blue)
![Supported Platforms](https://img.shields.io/badge/Supported_Platforms:-Native_Android_,_Unity_,_React_Native_,_Flutter_,_Cordova-orange)
@@ -78,7 +78,7 @@ In the app-level build.gradle, include Huawei Ads dependency (required by the ad
```groovy
dependencies {
- implementation 'com.huawei.hms:ads:3.4.49.305'
+ implementation 'com.huawei.hms:ads:3.4.52.302'
implementation 'com.github.Explore-In-HMS:huawei.ads.admob_mediation:'
}
```
@@ -86,7 +86,7 @@ dependencies {
```groovy
dependencies {
- implementation 'com.huawei.hms:ads-lite:13.4.49.305'
+ implementation 'com.huawei.hms:ads-lite:13.4.52.302'
implementation 'com.github.Explore-In-HMS:huawei.ads.admob_mediation:'
}
```
@@ -139,6 +139,10 @@ To allow HTTP and HTTPS network requests on devices with targetSdkVersion 28 or
# Version Change History
+## 1.2.9
+
+Update Huawei Ads SDK. Resolved the compatibility issue of the network component OkHttp.
+
## 1.2.7
Logs issue fixed.
diff --git a/admob_mediation/build.gradle b/admob_mediation/build.gradle
index 95bd572..2e2b113 100644
--- a/admob_mediation/build.gradle
+++ b/admob_mediation/build.gradle
@@ -60,7 +60,7 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.google.android.gms:play-services-ads:19.5.0'
- implementation 'com.huawei.hms:ads:3.4.49.301'
+ implementation 'com.huawei.hms:ads:3.4.52.302'
implementation 'com.google.android.ads.consent:consent-library:1.0.8'
}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index ddc1222..3fd5046 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,19 +32,6 @@ buildscript {
// in the individual module build.gradle files
}
}
-/*plugins {
- id "org.sonarqube" version "3.0"
-}
-sonarqube {
- properties {
- property "sonar.projectKey","com.hmscl.huawei.mediationjitpack"
- property "sonar.projectName","com.hmscl.huawei.mediationjitpack"
- property "sonar.host.url","http://10.216.72.212:9000"
- property "sonar.login","d724a2891b797f26a36b4c42cad0f2546eda1f89"
- property "sonar.sourceEncoding", "UTF-8"
- property "sonar.projectVersion", version()
- }
-}*/
allprojects {
repositories {