Skip to content

Commit

Permalink
Merge pull request #551 from adjust/v4311
Browse files Browse the repository at this point in the history
Version 4.31.1
  • Loading branch information
shashanksu authored Aug 18, 2022
2 parents 48a005f + b9b64c1 commit 859af50
Show file tree
Hide file tree
Showing 16 changed files with 116 additions and 19 deletions.
10 changes: 5 additions & 5 deletions Adjust/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ subprojects {
ext {
// Android config.
coreMinSdkVersion = 9
coreCompileSdkVersion = 31
coreTargetSdkVersion = 31
coreVersionName = '4.31.0'
coreCompileSdkVersion = 32
coreTargetSdkVersion = 32
coreVersionName = '4.31.1'
defaultVersionCode = 1
webbridgeMinSdkVersion = 17

Expand All @@ -18,14 +18,14 @@ ext {
}

buildscript {
ext.kotlin_version = '1.5.31'
ext.kotlin_version = '1.6.10'

repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:7.2.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files.
Expand Down
2 changes: 1 addition & 1 deletion Adjust/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
1 change: 1 addition & 0 deletions Adjust/sdk-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.adjust.sdk">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
</manifest>
2 changes: 1 addition & 1 deletion Adjust/sdk-core/src/main/java/com/adjust/sdk/Adjust.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private Adjust() {
*/
public static synchronized AdjustInstance getDefaultInstance() {
@SuppressWarnings("unused")
String VERSION = "!SDK-VERSION-STRING!:com.adjust.sdk:adjust-android:4.31.0";
String VERSION = "!SDK-VERSION-STRING!:com.adjust.sdk:adjust-android:4.31.1";

if (defaultInstance == null) {
defaultInstance = new AdjustInstance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public interface Constants {

String SCHEME = "https";
String AUTHORITY = "app.adjust.com";
String CLIENT_SDK = "android4.31.0";
String CLIENT_SDK = "android4.31.1";
String LOGTAG = "Adjust";
String REFTAG = "reftag";
String INSTALL_REFERRER = "install_referrer";
Expand Down
14 changes: 13 additions & 1 deletion Adjust/sdk-plugin-criteo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,19 @@ dependencies {
// Add SDK via module.
compileOnly project(':sdk-core')
// Add SDK via Maven.
// implementation 'com.adjust.sdk:adjust-android:4.31.0'
// implementation 'com.adjust.sdk:adjust-android:4.31.1'
}

// read local properties
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
Properties p = new Properties()
new FileInputStream(localPropsFile).withCloseable { is ->
p.load(is)
}
p.each { name, value ->
ext[name] = value
}
}

task adjustCriteoAndroidAar (type: Copy) {
Expand Down
14 changes: 13 additions & 1 deletion Adjust/sdk-plugin-imei/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ dependencies {
// Add SDK via module.
compileOnly project(':sdk-core')
// Add SDK via Maven.
// implementation 'com.adjust.sdk:adjust-android:4.31.0'
// implementation 'com.adjust.sdk:adjust-android:4.31.1'
}

// read local properties
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
Properties p = new Properties()
new FileInputStream(localPropsFile).withCloseable { is ->
p.load(is)
}
p.each { name, value ->
ext[name] = value
}
}

task adjustImeiAndroidAar (type: Copy) {
Expand Down
14 changes: 13 additions & 1 deletion Adjust/sdk-plugin-oaid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ dependencies {
// Add SDK via module.
compileOnly project(':sdk-core')
// Add SDK via Maven.
// implementation 'com.adjust.sdk:adjust-android:4.31.0'
// implementation 'com.adjust.sdk:adjust-android:4.31.1'
}

// read local properties
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
Properties p = new Properties()
new FileInputStream(localPropsFile).withCloseable { is ->
p.load(is)
}
p.each { name, value ->
ext[name] = value
}
}

task adjustOaidAndroidAar (type: Copy) {
Expand Down
14 changes: 13 additions & 1 deletion Adjust/sdk-plugin-sociomantic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ dependencies {
// Add SDK via module.
compileOnly project(':sdk-core')
// Add SDK via Maven.
// implementation 'com.adjust.sdk:adjust-android:4.31.0'
// implementation 'com.adjust.sdk:adjust-android:4.31.1'
}

// read local properties
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
Properties p = new Properties()
new FileInputStream(localPropsFile).withCloseable { is ->
p.load(is)
}
p.each { name, value ->
ext[name] = value
}
}

task adjustSociomanticAndroidAar (type: Copy) {
Expand Down
14 changes: 13 additions & 1 deletion Adjust/sdk-plugin-trademob/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ dependencies {
// Add SDK via module.
compileOnly project(':sdk-core')
// Add SDK via Maven.
// implementation 'com.adjust.sdk:adjust-android:4.31.0'
// implementation 'com.adjust.sdk:adjust-android:4.31.1'
}

// read local properties
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
Properties p = new Properties()
new FileInputStream(localPropsFile).withCloseable { is ->
p.load(is)
}
p.each { name, value ->
ext[name] = value
}
}

task adjustTrademobAndroidAar (type: Copy) {
Expand Down
14 changes: 13 additions & 1 deletion Adjust/sdk-plugin-webbridge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ dependencies {
// Add SDK via module.
compileOnly project(':sdk-core')
// Add SDK via Maven.
// implementation 'com.adjust.sdk:adjust-android:4.31.0'
// implementation 'com.adjust.sdk:adjust-android:4.31.1'
}

// read local properties
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
Properties p = new Properties()
new FileInputStream(localPropsFile).withCloseable { is ->
p.load(is)
}
p.each { name, value ->
ext[name] = value
}
}

task adjustWebBridgeAndroidAar (type: Copy) {
Expand Down
2 changes: 1 addition & 1 deletion Adjust/sdk-plugin-webbridge/src/main/assets/adjust.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ var Adjust = {
if (this.adjustConfig) {
return this.adjustConfig.getSdkPrefix();
} else {
return 'web-bridge4.31.0';
return 'web-bridge4.31.1';
}
},

Expand Down
16 changes: 14 additions & 2 deletions Adjust/sdk-plugin-xiaomi-referrer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,24 @@ dependencies {
// Add SDK via module.
compileOnly project(':sdk-core')
// Add SDK via Maven.
// implementation 'com.adjust.sdk:adjust-android:4.31.0'
// implementation 'com.adjust.sdk:adjust-android:4.31.1'

// Add xiaomi referrer lib via Maven.
implementation 'com.miui.referrer:homereferrer:1.0.0.6'
}

// read local properties
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
Properties p = new Properties()
new FileInputStream(localPropsFile).withCloseable { is ->
p.load(is)
}
p.each { name, value ->
ext[name] = value
}
}

task adjustXiaomiReferrerPluginAar (type: Copy) {
dependsOn 'assembleRelease'

Expand Down Expand Up @@ -83,7 +95,7 @@ publishing {
mavenAndroidXiaomiReferrer(MavenPublication) {
customizePom(pom)
groupId rootProject.ext.adjustGroupId
artifactId 'adjust-android-xiamoi-referrer'
artifactId 'adjust-android-xiaomi-referrer'
version rootProject.ext.coreVersionName

artifact adjustXiaomiReferrerPluginJar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public TestActivityPackage(ActivityPackage activityPackage) {
// default values
appToken = "123456789012";
environment = "sandbox";
clientSdk = "android4.31.0";
clientSdk = "android4.31.1";
suffix = "";
attribution = new AdjustAttribution();
playServices = true;
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### Version 4.31.1 (18th August 2022)
#### Added
- Added permission `com.google.android.gms.permission.AD_ID` in the SDK's mainfest.

#### Fixed
- Typo in Xiaomi Install Referrer's maven artifact id.

#### Changed
- Updated Gradle version 7.3.3 and other dependencies.

---

### Version 4.31.0 (28th July 2022)
#### Added
- Added support for Xiaomi install referrer.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.31.0
4.31.1

0 comments on commit 859af50

Please sign in to comment.