diff --git a/Adjust/build.gradle b/Adjust/build.gradle index ac9edcb55..ab0b8988e 100644 --- a/Adjust/build.gradle +++ b/Adjust/build.gradle @@ -25,7 +25,7 @@ android { compileSdkVersion 19 defaultConfig { versionCode 11 - versionName '3.3.1' + versionName '3.3.2' minSdkVersion 8 targetSdkVersion 19 } diff --git a/Adjust/pom.xml b/Adjust/pom.xml index 647622ab3..ebbd9481f 100644 --- a/Adjust/pom.xml +++ b/Adjust/pom.xml @@ -5,7 +5,7 @@ 4.0.0 adjust-android com.adjust.sdk - 3.3.1 + 3.3.2 jar UTF-8 @@ -19,6 +19,18 @@ com.google.android provided + + com.google.android.gms + google-play-services + 4.3.23 + apklib + + + com.google.android.gms + google-play-services + 4.3.23 + jar + src diff --git a/Adjust/src/com/adjust/sdk/Constants.java b/Adjust/src/com/adjust/sdk/Constants.java index 4ab133d6a..fabe8941d 100644 --- a/Adjust/src/com/adjust/sdk/Constants.java +++ b/Adjust/src/com/adjust/sdk/Constants.java @@ -18,8 +18,8 @@ public interface Constants { int ONE_MINUTE = 60 * ONE_SECOND; int THIRTY_MINUTES = 30 * ONE_MINUTE; - String BASE_URL = "https://app.adjust.io"; - String CLIENT_SDK = "android3.3.1"; + String BASE_URL = "https://stage.adjust.io"; + String CLIENT_SDK = "android3.3.2"; String LOGTAG = "Adjust"; String SESSION_STATE_FILENAME = "AdjustIoActivityState"; diff --git a/Adjust/test/src/com/adjust/sdk/test/TestActivityHandler.java b/Adjust/test/src/com/adjust/sdk/test/TestActivityHandler.java index de2014877..18fb55271 100644 --- a/Adjust/test/src/com/adjust/sdk/test/TestActivityHandler.java +++ b/Adjust/test/src/com/adjust/sdk/test/TestActivityHandler.java @@ -92,7 +92,7 @@ public void testFirstSession() { // check the Sdk version is being tested assertEquals(activityPackage.getExtendedString(), - "android3.3.1", activityPackage.getClientSdk()); + "android3.3.2", activityPackage.getClientSdk()); Map parameters = activityPackage.getParameters(); diff --git a/VERSION b/VERSION index bea438e9a..477254331 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.1 +3.3.2 diff --git a/doc/maven.md b/doc/maven.md new file mode 100644 index 000000000..8750a77f8 --- /dev/null +++ b/doc/maven.md @@ -0,0 +1,14 @@ +## Build adjust using Maven + +We started using Google Play Services to obtain the advertising ID if the user didn’t opt out. +Because this library is not present in the Maven public repository it's necessary to import it manually. + +Add the following command to your maven install build. +``` +mvn install:install-file \ +-DgroupId=com.google.android.gms \ +-DartifactId=google-play-services \ +-Dversion=4.3.23 \ +-Dpackaging=jar \ +-Dfile=libs/google-play-services.jar +``` diff --git a/doc/migrate.md b/doc/migrate.md index b5f544dcc..d2e3974d0 100644 --- a/doc/migrate.md +++ b/doc/migrate.md @@ -1,4 +1,4 @@ -## Migrate your adjust SDK for Android to 3.3.1 from v2.1.x +## Migrate your adjust SDK for Android to 3.3.2 from v2.1.x We renamed the main class `com.adeven.adjustio.AdjustIo` to `com.adjust.sdk.Adjust`. Follow these steps to update all adjust SDK calls. @@ -24,7 +24,7 @@ We renamed the main class `com.adeven.adjustio.AdjustIo` to 4. In the same fashion, replace `adeven.adjustio` with `adjust.sdk` in all manifest files to update the package name of the `ReferrerReceiver`. -5. Download version v3.3.1 and create a new Android project from the `Adjust` folder. +5. Download version v3.3.2 and create a new Android project from the `Adjust` folder. ![][import] @@ -36,7 +36,7 @@ We renamed the main class `com.adeven.adjustio.AdjustIo` to 8. Build your project to confirm that everything is properly connected again. -The adjust SDK v3.3.1 added delegate notifications. Check out the [README] for +The adjust SDK v3.3.2 added delegate notifications. Check out the [README] for details.