From f02626e821dc94c27c19417a9d42df458e21d200 Mon Sep 17 00:00:00 2001 From: Pedro Date: Wed, 22 Apr 2015 18:16:46 +0200 Subject: [PATCH 1/2] Prefix sociomantic --- Adjust/plugin/AdjustSociomantic.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Adjust/plugin/AdjustSociomantic.java b/Adjust/plugin/AdjustSociomantic.java index 0131a5de4..70ea7ea51 100644 --- a/Adjust/plugin/AdjustSociomantic.java +++ b/Adjust/plugin/AdjustSociomantic.java @@ -105,7 +105,7 @@ public static void injectCustomerDataIntoEvent(AdjustEvent event, Map ca co.put(SCMCategory, categories); - event.addPartnerParameter("co", stringify(co)); + event.addPartnerParameter("socio_co", stringify(co)); } public static void injectProductIntoEvent(AdjustEvent event, String productId) { @@ -165,7 +165,7 @@ public static void injectProductIntoEvent(AdjustEvent event, String productId, M po.put(SCMProductID, productId); - event.addPartnerParameter("po", stringify(po)); + event.addPartnerParameter("socio_po", stringify(po)); } public static void injectCartIntoEvent(AdjustEvent event, List products) { @@ -196,7 +196,7 @@ else if (product instanceof Map) { } if (!po.isEmpty()) { - event.addPartnerParameter("po", stringify(po)); + event.addPartnerParameter("socio_po", stringify(po)); } } @@ -249,7 +249,7 @@ else if (product instanceof Map) { } if (!po.isEmpty()) { - event.addPartnerParameter("po", stringify(po)); + event.addPartnerParameter("socio_po", stringify(po)); } if (null != parameters) { @@ -265,7 +265,7 @@ else if (product instanceof Map) { to.get(SCMTransaction).put(SCMTransaction, transactionID); - event.addPartnerParameter("to", stringify(to)); + event.addPartnerParameter("socio_to", stringify(to)); } public static void injectLeadIntoEvent(AdjustEvent event, String leadID) { @@ -292,7 +292,7 @@ public static void injectLeadIntoEvent(AdjustEvent event, String leadID, Boolean to.get(SCMTransaction).put(SCMTransaction, leadID); - event.addPartnerParameter("to", stringify(to)); + event.addPartnerParameter("socio_to", stringify(to)); } //////////////////////////////////////////////////////////////////////////////////////////////// From 947fee45c4e4d7c4bbfd97161da8d76240a6f1bf Mon Sep 17 00:00:00 2001 From: Pedro Date: Wed, 22 Apr 2015 18:20:15 +0200 Subject: [PATCH 2/2] New version v4.0.4 --- 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 +- .../java/com/adjust/sdk/test/TestActivityPackage.java | 2 +- README.md | 2 +- VERSION | 2 +- doc/migrate.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Adjust/adjust/build.gradle b/Adjust/adjust/build.gradle index 48e9b7f71..e08f7dcc5 100644 --- a/Adjust/adjust/build.gradle +++ b/Adjust/adjust/build.gradle @@ -8,7 +8,7 @@ android { minSdkVersion 9 targetSdkVersion 21 versionCode 1 - versionName "4.0.3" + versionName "4.0.4" } } 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 80e7ac217..c95f908c2 100644 --- a/Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java +++ b/Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java @@ -27,7 +27,7 @@ public interface Constants { String BASE_URL = "https://app.adjust.com"; String SCHEME = "https"; String AUTHORITY = "app.adjust.com"; - String CLIENT_SDK = "android4.0.3"; + String CLIENT_SDK = "android4.0.4"; String LOGTAG = "Adjust"; String ACTIVITY_STATE_FILENAME = "AdjustIoActivityState"; diff --git a/Adjust/example/build.gradle b/Adjust/example/build.gradle index 5e3bc1319..5908025b6 100644 --- a/Adjust/example/build.gradle +++ b/Adjust/example/build.gradle @@ -28,5 +28,5 @@ dependencies { // running mvn package //compile fileTree(dir: '../target', include: ['*.jar']) // using maven repository - //compile 'com.adjust.sdk:adjust-android:4.0.3' + //compile 'com.adjust.sdk:adjust-android:4.0.4' } diff --git a/Adjust/pom.xml b/Adjust/pom.xml index c851d1cf2..b1928d2b9 100644 --- a/Adjust/pom.xml +++ b/Adjust/pom.xml @@ -5,7 +5,7 @@ 4.0.0 adjust-android com.adjust.sdk - 4.0.3 + 4.0.4 jar Adjust Android SDK https://github.com/adjust/android_sdk diff --git a/Adjust/test/src/androidTest/java/com/adjust/sdk/test/TestActivityPackage.java b/Adjust/test/src/androidTest/java/com/adjust/sdk/test/TestActivityPackage.java index 7160d375b..44ac3a04a 100644 --- a/Adjust/test/src/androidTest/java/com/adjust/sdk/test/TestActivityPackage.java +++ b/Adjust/test/src/androidTest/java/com/adjust/sdk/test/TestActivityPackage.java @@ -45,7 +45,7 @@ public TestActivityPackage(ActivityPackage activityPackage) { // default values appToken = "123456789012"; environment = "sandbox"; - clientSdk = "android4.0.3"; + clientSdk = "android4.0.4"; suffix = ""; attribution = new AdjustAttribution(); } diff --git a/README.md b/README.md index 2fa51eec5..f7da5a49a 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ compile project(":adjust") If you are using Maven, add this line instead: ``` -compile 'com.adjust.sdk:adjust-android:4.0.3' +compile 'com.adjust.sdk:adjust-android:4.0.4' ``` ### 4. Add Google Play Services diff --git a/VERSION b/VERSION index c4e41f945..c5106e6d1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.3 +4.0.4 diff --git a/doc/migrate.md b/doc/migrate.md index 5f6bb254a..37ae533ff 100644 --- a/doc/migrate.md +++ b/doc/migrate.md @@ -1,4 +1,4 @@ -## Migrate your adjust SDK for Android to 4.0.3 from 3.6.2 +## Migrate your adjust SDK for Android to 4.0.4 from 3.6.2 ### The Application class