From c3acab944e1c416640ad04df6f6dadca70e7c49c Mon Sep 17 00:00:00 2001 From: Pedro Date: Fri, 16 Sep 2016 12:59:34 +0200 Subject: [PATCH 1/2] Remove Disconnect on create --- Adjust/adjust/src/main/java/com/adjust/sdk/Util.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Adjust/adjust/src/main/java/com/adjust/sdk/Util.java b/Adjust/adjust/src/main/java/com/adjust/sdk/Util.java index a853415ef..77c4c1ae5 100644 --- a/Adjust/adjust/src/main/java/com/adjust/sdk/Util.java +++ b/Adjust/adjust/src/main/java/com/adjust/sdk/Util.java @@ -297,10 +297,6 @@ public static AdjustFactory.URLGetConnection createGETHttpsURLConnection(String return urlGetConnection; } catch (IOException e) { throw e; - } finally { - if (connection != null) { - connection.disconnect(); - } } } @@ -335,10 +331,6 @@ public static HttpsURLConnection createPOSTHttpsURLConnection(String urlString, wr.close(); } }catch (Exception e) { } - - if (connection != null) { - connection.disconnect(); - } } } From a91278db1ba589f024d973175c28947e51c72c91 Mon Sep 17 00:00:00 2001 From: Pedro Date: Fri, 16 Sep 2016 13:50:48 +0200 Subject: [PATCH 2/2] New version v4.10.2 --- Adjust/adjust/build.gradle | 2 +- Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java | 2 +- Adjust/example/build.gradle | 2 +- Adjust/pom.xml | 2 +- Adjust/pom_criteo.xml | 2 +- Adjust/pom_sociomantic.xml | 2 +- Adjust/pom_trademob.xml | 2 +- .../androidTest/java/com/adjust/sdk/TestActivityPackage.java | 2 +- README.md | 2 +- VERSION | 2 +- doc/english/criteo_plugin.md | 2 +- doc/english/migrate.md | 2 +- doc/english/sociomantic_plugin.md | 2 +- doc/english/trademob_plugin.md | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Adjust/adjust/build.gradle b/Adjust/adjust/build.gradle index e939a4d3a..ddfe05ab2 100644 --- a/Adjust/adjust/build.gradle +++ b/Adjust/adjust/build.gradle @@ -8,7 +8,7 @@ android { minSdkVersion 9 targetSdkVersion 24 versionCode 1 - versionName "4.10.1" + versionName "4.10.2" } } diff --git a/Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java b/Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java index 23fd1ea54..06e20c78c 100644 --- a/Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java +++ b/Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java @@ -29,7 +29,7 @@ public interface Constants { String BASE_URL = "https://app.adjust.com"; String SCHEME = "https"; String AUTHORITY = "app.adjust.com"; - String CLIENT_SDK = "android4.10.1"; + String CLIENT_SDK = "android4.10.2"; String LOGTAG = "Adjust"; String REFTAG = "reftag"; String DEEPLINK = "deeplink"; diff --git a/Adjust/example/build.gradle b/Adjust/example/build.gradle index af1c5fef6..264a64886 100644 --- a/Adjust/example/build.gradle +++ b/Adjust/example/build.gradle @@ -28,7 +28,7 @@ dependencies { // running mvn package //compile fileTree(dir: '../target', include: ['*.jar']) // using maven repository - //compile 'com.adjust.sdk:adjust-android:4.10.1' + //compile 'com.adjust.sdk:adjust-android:4.10.2' debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2' diff --git a/Adjust/pom.xml b/Adjust/pom.xml index a47415531..85d803689 100644 --- a/Adjust/pom.xml +++ b/Adjust/pom.xml @@ -5,7 +5,7 @@ 4.0.0 adjust-android com.adjust.sdk - 4.10.1 + 4.10.2 jar Adjust Android SDK https://github.com/adjust/android_sdk diff --git a/Adjust/pom_criteo.xml b/Adjust/pom_criteo.xml index 4560becea..0a3f9ba90 100644 --- a/Adjust/pom_criteo.xml +++ b/Adjust/pom_criteo.xml @@ -5,7 +5,7 @@ 4.0.0 adjust-android-criteo com.adjust.sdk - 4.10.1 + 4.10.2 jar Adjust Android SDK https://github.com/adjust/android_sdk diff --git a/Adjust/pom_sociomantic.xml b/Adjust/pom_sociomantic.xml index 674be2b4e..617b15bc2 100644 --- a/Adjust/pom_sociomantic.xml +++ b/Adjust/pom_sociomantic.xml @@ -5,7 +5,7 @@ 4.0.0 adjust-android-sociomantic com.adjust.sdk - 4.10.1 + 4.10.2 jar Adjust Android SDK https://github.com/adjust/android_sdk diff --git a/Adjust/pom_trademob.xml b/Adjust/pom_trademob.xml index 3b681306a..7236b06c1 100644 --- a/Adjust/pom_trademob.xml +++ b/Adjust/pom_trademob.xml @@ -5,7 +5,7 @@ 4.0.0 adjust-android-trademob com.adjust.sdk - 4.10.1 + 4.10.2 jar Adjust Android SDK https://github.com/adjust/android_sdk diff --git a/Adjust/test/src/androidTest/java/com/adjust/sdk/TestActivityPackage.java b/Adjust/test/src/androidTest/java/com/adjust/sdk/TestActivityPackage.java index 4d62e62ee..be4a7b0cf 100644 --- a/Adjust/test/src/androidTest/java/com/adjust/sdk/TestActivityPackage.java +++ b/Adjust/test/src/androidTest/java/com/adjust/sdk/TestActivityPackage.java @@ -53,7 +53,7 @@ public TestActivityPackage(ActivityPackage activityPackage) { // default values appToken = "123456789012"; environment = "sandbox"; - clientSdk = "android4.10.1"; + clientSdk = "android4.10.2"; suffix = ""; attribution = new AdjustAttribution(); playServices = true; diff --git a/README.md b/README.md index f7d08aa07..181fb0497 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ compile project(":adjust") If you are using Maven, add this line instead: ``` -compile 'com.adjust.sdk:adjust-android:4.10.1' +compile 'com.adjust.sdk:adjust-android:4.10.2' ``` ### Add Google Play Services diff --git a/VERSION b/VERSION index ad96464c4..0216ba384 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.10.1 +4.10.2 diff --git a/doc/english/criteo_plugin.md b/doc/english/criteo_plugin.md index 9869bc2c9..de7194513 100644 --- a/doc/english/criteo_plugin.md +++ b/doc/english/criteo_plugin.md @@ -3,7 +3,7 @@ Add the dependency of the adjust sdk with the Criteo plugin: ``` -compile 'com.adjust.sdk:adjust-android-criteo:4.10.1' +compile 'com.adjust.sdk:adjust-android-criteo:4.10.2' ``` Or integrate adjust with Criteo events by following these steps: diff --git a/doc/english/migrate.md b/doc/english/migrate.md index 812550193..8e0194592 100644 --- a/doc/english/migrate.md +++ b/doc/english/migrate.md @@ -1,4 +1,4 @@ -## Migrate your adjust SDK for Android to 4.10.1 from 3.6.2 +## Migrate your adjust SDK for Android to 4.10.2 from 3.6.2 ### The Application class diff --git a/doc/english/sociomantic_plugin.md b/doc/english/sociomantic_plugin.md index dd38540f3..26f969b85 100644 --- a/doc/english/sociomantic_plugin.md +++ b/doc/english/sociomantic_plugin.md @@ -3,7 +3,7 @@ Add the dependency of the adjust sdk with the Sociomantic plugin: ``` -compile 'com.adjust.sdk:adjust-android-sociomantic:4.10.1' +compile 'com.adjust.sdk:adjust-android-sociomantic:4.10.2' ``` Or integrate adjust with Sociomantic events by following these steps: diff --git a/doc/english/trademob_plugin.md b/doc/english/trademob_plugin.md index 90a762c72..acc103d7a 100644 --- a/doc/english/trademob_plugin.md +++ b/doc/english/trademob_plugin.md @@ -3,7 +3,7 @@ Add the dependency of the adjust sdk with the Trademob plugin: ``` -compile 'com.adjust.sdk:adjust-android-trademob:4.10.1' +compile 'com.adjust.sdk:adjust-android-trademob:4.10.2' ``` Or integrate adjust with Trademob events by following these steps: