Skip to content

Commit

Permalink
Update Huawei SDK Version (#6)
Browse files Browse the repository at this point in the history
* Update Huawei Ads SDK version

* Update Readme file
  • Loading branch information
yilmazgokhan authored Mar 17, 2022
1 parent 77d13bd commit bff43b0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.iml
.gradle
/local.properties
/.idea/*
/.idea/caches
/.idea/libraries
/.idea/modules.xml
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">Huawei-Admob Mediation Github Documentation</h3>

![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)
<br>
![Supported Platforms](https://img.shields.io/badge/Supported_Platforms:-Native_Android_,_Unity_,_React_Native_,_Flutter_,_Cordova-orange)

Expand Down Expand Up @@ -78,15 +78,15 @@ 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:<latest_version>'
}
```
> **_NOTE:_** If your app can run only on Huawei mobile phones, you can integrate the Huawei Ads Lite SDK instead of Huawei Ads SDK (Optional)
```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:<latest_version>'
}
```
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion admob_mediation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

}
13 changes: 0 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bff43b0

Please sign in to comment.