Skip to content

Commit

Permalink
Mediation 5.0.0 Adapter (#72)
Browse files Browse the repository at this point in the history
* [HB-6645] Helium rebranding

* [HB-6442] Refactor show to take Activity instead of Context

* AdapterConfiguration

* New ChartboostMediation error design (#58)

* Update CLA links (#59)

* [HB-7637] Partner Adapter Rework (#60)

* Gradle 8 migration (#62)

* Pre 5.0 getting ready for release (#63)

* [HB-7689] Version pumps for Mediation 5 (#64)

* API 34 (#65)

* [HB-7689] Catching up with latest certified versions (#68)

* HB-7029: Handle fullscreen ad memory leak

* InMobi 10.6.3 (#54)

* [HB-7351] InMobi `10.6.7` (#55)

* Add automated-create-release-version.yml (#56)

* [HB-6536] Updated adapter to use InMobi bidding API (#57)

* [HB-6536] Updated adapter to use InMobi bidding API

* Supplying `adm` data into load when available

* Fixed which load is used; should not use bytes version if array is 0 length

* 4.10.6.7.2 (#61)

* Send extras to InMobi for token fetching

* Set adapter version to `4.10.6.7.2`

---------

Co-authored-by: Ray Graham <rayg@bitwisedesign.com>

* 4.10.7.3.0 (#66)

* 4.10.7.4.0 (#67)

* Fixed botched merge

* Removed unused TCF_STRING_KEY

---------

Co-authored-by: bichenwang <bichenwang@gmail.com>
Co-authored-by: chauduyphanvu <vu.chau@chartboost.com>
Co-authored-by: Helium Service <103450738+helium-service@users.noreply.github.com>

* HB-8087 Privacy Audit (#69)

* Banner Size Update (#70)

* fix gdpr

* Java 17

* InMobi 5.10.7.5.0.

---------

Co-authored-by: bichenwang <bichenwang@gmail.com>
Co-authored-by: Ray Graham <rayg@bitwisedesign.com>
Co-authored-by: Helium Service <103450738+helium-service@users.noreply.github.com>
Co-authored-by: Jose Padilla <jose.padilla@chartboost.com>
  • Loading branch information
5 people authored Aug 1, 2024
1 parent 2d4dc32 commit 9d85a7f
Show file tree
Hide file tree
Showing 12 changed files with 279 additions and 223 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: gradle

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: gradle

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: gradle

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Note the first digit of every adapter version corresponds to the major version of the Chartboost Mediation SDK compatible with that adapter.
Adapters are compatible with any Chartboost Mediation SDK version within that major version.

### 5.10.7.5.0
- This version of the adapter supports Chartboost Mediation SDK version 5.+.

### 4.10.7.5.0
- This version of the adapter has been certified with InMobi SDK 10.7.5.

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow these guides to create a detailed and effective report for us to understa
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened.

### Pull Requests
In order to submit pull requests, you are required to review and sign the [Contribution License Agreement (CLA)](https://developers.chartboost.com/docs/mediation-contribution-license-agreement) which is available on the Chartboost website to view. Once you have read the agreement, sign the appropriate form depending on whether you are an individual an employer contributor.
In order to submit pull requests, you are required to review and sign the [Contribution License Agreement (CLA)](https://docs.chartboost.com/en/partners/contribution-license-agreement/) which is available on the Chartboost website to view. Once you have read the agreement, sign the appropriate form depending on whether you are an individual an employer contributor.

- [Individual contributor license agreement form](https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=159c66e8-610c-4afc-9330-15bc2217c291&env=na3&acct=9c982e12-8675-45df-9d81-95fe3656e695&v=2).
_You wish to contribute on your own behalf as an individual._
Expand All @@ -43,7 +43,7 @@ _You wish to contribute on behalf of your employer._
#### Submitting a Pull Request
Follow these steps to have your contribution considered by the maintainers:

1. Review and sign the [Contribution License Agreement (CLA)](https://developers.chartboost.com/docs/mediation-contribution-license-agreement).
1. Review and sign the [Contribution License Agreement (CLA)](https://docs.chartboost.com/en/partners/contribution-license-agreement/).
2. Identify the issue related to your fix. If an issue doesn't exist, then create a new issue.
3. Create a pull request.
4. Format the title starting with the issue number, followed by a brief description of the fox. _Example: `[ISSUE-60] Fix null pointer exception`._
Expand Down
31 changes: 25 additions & 6 deletions InMobiAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2022-2024 Chartboost, Inc.
*
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file.
*/
Expand All @@ -18,24 +18,31 @@ plugins {
repositories {
google()
mavenCentral()
maven("https://cboost.jfrog.io/artifactory/private-chartboost-core/") {
credentials {
username = System.getenv("JFROG_USER")
password = System.getenv("JFROG_PASS")
}
}
maven("https://cboost.jfrog.io/artifactory/private-chartboost-mediation/") {
credentials {
username = System.getenv("JFROG_USER")
password = System.getenv("JFROG_PASS")
}
}
maven("https://cboost.jfrog.io/artifactory/chartboost-core/")
maven("https://cboost.jfrog.io/artifactory/chartboost-mediation/")
}

android {
namespace = "com.chartboost.mediation.inmobiadapter"
compileSdk = 33
compileSdk = 34

defaultConfig {
minSdk = 21
targetSdk = 33
targetSdk = 34
// If you touch the following line, don't forget to update scripts/get_rc_version.zsh
android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.10.7.5.0"
android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "5.10.7.5.0"
buildConfigField("String", "CHARTBOOST_MEDIATION_INMOBI_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"")

consumerProguardFiles("proguard-rules.pro")
Expand All @@ -47,6 +54,7 @@ android {
productFlavors {
create("local")
create("remote")
create("candidate")
}

buildTypes {
Expand All @@ -61,15 +69,26 @@ android {

buildFeatures {
viewBinding = true
buildConfig = true
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
"localImplementation"(project(":Helium"))
"localImplementation"(project(":ChartboostMediation"))

// For external usage, please use the following production dependency.
// You may choose a different release version.
"remoteImplementation"("com.chartboost:chartboost-mediation-sdk:4.0.0")
"remoteImplementation"("com.chartboost:chartboost-mediation-sdk:5.0.0")
"candidateImplementation"("com.chartboost:chartboost-mediation-sdk:5.0.0")

// Partner SDK
implementation("com.inmobi.monetization:inmobi-ads-kotlin:10.7.5")
Expand Down
Loading

0 comments on commit 9d85a7f

Please sign in to comment.