Skip to content

Commit ec4a1b6

Browse files
committed
Merge pull request #47 from adjust/maven_play_services
Maven play services
2 parents 91551cd + 27ea2c0 commit ec4a1b6

File tree

7 files changed

+35
-9
lines changed

7 files changed

+35
-9
lines changed

Adjust/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525
compileSdkVersion 19
2626
defaultConfig {
2727
versionCode 11
28-
versionName '3.3.1'
28+
versionName '3.3.2'
2929
minSdkVersion 8
3030
targetSdkVersion 19
3131
}

Adjust/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<artifactId>adjust-android</artifactId>
77
<groupId>com.adjust.sdk</groupId>
8-
<version>3.3.1</version>
8+
<version>3.3.2</version>
99
<packaging>jar</packaging>
1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -19,6 +19,18 @@
1919
<groupId>com.google.android</groupId>
2020
<scope>provided</scope>
2121
</dependency>
22+
<dependency>
23+
<groupId>com.google.android.gms</groupId>
24+
<artifactId>google-play-services</artifactId>
25+
<version>4.3.23</version>
26+
<type>apklib</type>
27+
</dependency>
28+
<dependency>
29+
<groupId>com.google.android.gms</groupId>
30+
<artifactId>google-play-services</artifactId>
31+
<version>4.3.23</version>
32+
<type>jar</type>
33+
</dependency>
2234
</dependencies>
2335
<build>
2436
<sourceDirectory>src</sourceDirectory>

Adjust/src/com/adjust/sdk/Constants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public interface Constants {
1818
int ONE_MINUTE = 60 * ONE_SECOND;
1919
int THIRTY_MINUTES = 30 * ONE_MINUTE;
2020

21-
String BASE_URL = "https://app.adjust.io";
22-
String CLIENT_SDK = "android3.3.1";
21+
String BASE_URL = "https://stage.adjust.io";
22+
String CLIENT_SDK = "android3.3.2";
2323
String LOGTAG = "Adjust";
2424

2525
String SESSION_STATE_FILENAME = "AdjustIoActivityState";

Adjust/test/src/com/adjust/sdk/test/TestActivityHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void testFirstSession() {
9292

9393
// check the Sdk version is being tested
9494
assertEquals(activityPackage.getExtendedString(),
95-
"android3.3.1", activityPackage.getClientSdk());
95+
"android3.3.2", activityPackage.getClientSdk());
9696

9797
Map<String, String> parameters = activityPackage.getParameters();
9898

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.1
1+
3.3.2

doc/maven.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Build adjust using Maven
2+
3+
We started using Google Play Services to obtain the advertising ID if the user didn’t opt out.
4+
Because this library is not present in the Maven public repository it's necessary to import it manually.
5+
6+
Add the following command to your maven install build.
7+
```
8+
mvn install:install-file \
9+
-DgroupId=com.google.android.gms \
10+
-DartifactId=google-play-services \
11+
-Dversion=4.3.23 \
12+
-Dpackaging=jar \
13+
-Dfile=libs/google-play-services.jar
14+
```

doc/migrate.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Migrate your adjust SDK for Android to 3.3.1 from v2.1.x
1+
## Migrate your adjust SDK for Android to 3.3.2 from v2.1.x
22

33
We renamed the main class `com.adeven.adjustio.AdjustIo` to
44
`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
2424
4. In the same fashion, replace `adeven.adjustio` with `adjust.sdk` in all
2525
manifest files to update the package name of the `ReferrerReceiver`.
2626

27-
5. Download version v3.3.1 and create a new Android project from the `Adjust` folder.
27+
5. Download version v3.3.2 and create a new Android project from the `Adjust` folder.
2828

2929
![][import]
3030

@@ -36,7 +36,7 @@ We renamed the main class `com.adeven.adjustio.AdjustIo` to
3636

3737
8. Build your project to confirm that everything is properly connected again.
3838

39-
The adjust SDK v3.3.1 added delegate notifications. Check out the [README] for
39+
The adjust SDK v3.3.2 added delegate notifications. Check out the [README] for
4040
details.
4141

4242

0 commit comments

Comments
 (0)