Skip to content

Commit

Permalink
Merge pull request #111 from adjust/socio_params
Browse files Browse the repository at this point in the history
Socio params
  • Loading branch information
nonelse committed Apr 23, 2015
2 parents e01fc7c + 947fee4 commit 985a212
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Adjust/adjust/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 9
targetSdkVersion 21
versionCode 1
versionName "4.0.3"
versionName "4.0.4"
}
}

Expand Down
2 changes: 1 addition & 1 deletion Adjust/adjust/src/main/java/com/adjust/sdk/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion Adjust/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
14 changes: 7 additions & 7 deletions Adjust/plugin/AdjustSociomantic.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public static void injectCustomerDataIntoEvent(AdjustEvent event, Map<String, St

String dob = stringify(data);

event.addPartnerParameter("dob", dob);
event.addPartnerParameter("socio_dob", dob);
}

public static void injectHomePageIntoEvent(AdjustEvent event) {
Expand Down Expand Up @@ -137,7 +137,7 @@ public static void injectViewListingIntoEvent(AdjustEvent event, List<String> ca

co.put(SCMCategory, categories);

event.addPartnerParameter("co", stringify(co));
event.addPartnerParameter("socio_co", stringify(co));
}

public static void injectProductIntoEvent(AdjustEvent event, String productId) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -196,7 +196,7 @@ else if (product instanceof Map) {
}

if (!po.isEmpty()) {
event.addPartnerParameter("po", stringify(po));
event.addPartnerParameter("socio_po", stringify(po));
}
}

Expand Down Expand Up @@ -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) {
Expand All @@ -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) {
Expand All @@ -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));
}

////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion Adjust/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>adjust-android</artifactId>
<groupId>com.adjust.sdk</groupId>
<version>4.0.3</version>
<version>4.0.4</version>
<packaging>jar</packaging>
<name>Adjust Android SDK</name>
<url>https://github.com/adjust/android_sdk</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.3
4.0.4
2 changes: 1 addition & 1 deletion doc/migrate.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 985a212

Please sign in to comment.