Skip to content

Commit

Permalink
Version 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djih committed Mar 29, 2016
1 parent b6e2c86 commit 32c9621
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Unreleased

## 2.6.0 (March 29, 2016)

* Update to OKHttp v3.0.1.
* Add support for prepend user property operation.
* Fix bug where merging events for upload causes array index out of bounds exception.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ A [demo application](https://github.com/amplitude/Android-Demo) is available to
# Setup #
1. If you haven't already, go to https://amplitude.com/signup and register for an account. Then, add an app. You will receive an API Key.

2. [Download the jar](https://github.com/amplitude/Amplitude-Android/raw/master/amplitude-android-2.5.1-with-dependencies.jar) and copy it into the "libs" folder in your Android project in Eclipse. If you're using an older build of Android, you may need to [add the jar file to your build path](http://stackoverflow.com/questions/3280353/how-to-import-a-jar-in-eclipse).
2. [Download the jar](https://github.com/amplitude/Amplitude-Android/raw/master/amplitude-android-2.6.0-with-dependencies.jar) and copy it into the "libs" folder in your Android project in Eclipse. If you're using an older build of Android, you may need to [add the jar file to your build path](http://stackoverflow.com/questions/3280353/how-to-import-a-jar-in-eclipse).

Alternatively, if you are using Maven in your project, the jar is available on [Maven Central](http://search.maven.org/#artifactdetails%7Ccom.amplitude%7Candroid-sdk%7C2.5.1%7Cjar) using the following configuration in your pom.xml:
Alternatively, if you are using Maven in your project, the jar is available on [Maven Central](http://search.maven.org/#artifactdetails%7Ccom.amplitude%7Candroid-sdk%7C2.6.0%7Cjar) using the following configuration in your pom.xml:

```
<dependency>
<groupId>com.amplitude</groupId>
<artifactId>android-sdk</artifactId>
<version>2.5.1</version>
<version>2.6.0</version>
</dependency>
```

Or if you are using gradle in your project, include in your build.gradle file:

```
compile 'com.amplitude:android-sdk:2.5.1'
compile 'com.amplitude:android-sdk:2.6.0'
```

3. In every file that uses analytics, import com.amplitude.api.Amplitude at the top:
Expand Down
Binary file removed amplitude-android-2.5.1-with-dependencies.jar
Binary file not shown.
Binary file removed amplitude-android-2.5.1.jar
Binary file not shown.
Binary file added amplitude-android-2.6.0-with-dependencies.jar
Binary file not shown.
Binary file added amplitude-android-2.6.0.jar
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<property name="groupId" value="com.amplitude" />
<property name="artifactId" value="amplitude-android" />
<property name="version" value="2.5.1" />
<property name="version" value="2.6.0" />

<property name="jar" value="${dist}/lib/${artifactId}-${version}.jar" />
<property name="uberjar" value="${dist}/lib/${artifactId}-${version}-with-dependencies.jar" />
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.amplitude</groupId>
<artifactId>android-sdk</artifactId>
<version>2.5.1</version>
<version>2.6.0</version>
<packaging>jar</packaging>

<name>Amplitude Android SDK</name>
Expand Down
2 changes: 1 addition & 1 deletion src/com/amplitude/api/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class Constants {

public static final String LIBRARY = "amplitude-android";
public static final String PLATFORM = "Android";
public static final String VERSION = "2.5.1";
public static final String VERSION = "2.6.0";

public static final String EVENT_LOG_URL = "https://api.amplitude.com/";

Expand Down

0 comments on commit 32c9621

Please sign in to comment.