Skip to content

Commit

Permalink
Version 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
allanca committed Mar 24, 2015
1 parent ec3c328 commit c61243e
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

## 1.5.0 (March 24, 2015)

* Add PinnedAmplitudeClient to support SSL pinning.
* Deprecate static methods on Amplitude. Switch to using Amplitude.getInstance().
* Upgrade HTTP client to okhttp.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
# 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-1.4.6.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-1.5.0.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).

3. 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%7C1.4.6%7Cjar) using the following configuration in your pom.xml:
3. 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%7C1.5.0%7Cjar) using the following configuration in your pom.xml:

```
<dependency>
<groupId>com.amplitude</groupId>
<artifactId>android-sdk</artifactId>
<version>1.4.6</version>
<version>1.5.0</version>
</dependency>
```

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

```
compile 'com.amplitude:android-sdk:1.4.6'
compile 'com.amplitude:android-sdk:1.5.0'
```

5. In every file that uses analytics, import com.amplitude.api.Amplitude at the top:
Expand Down
Binary file removed amplitude-android-1.4.5.jar
Binary file not shown.
Binary file removed amplitude-android-1.4.6.jar
Binary file not shown.
Binary file added amplitude-android-1.5.0.jar
Binary file not shown.
Binary file removed amplitude-unity-1.4.6.jar
Binary file not shown.
Binary file added amplitude-unity-1.5.0.jar
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="1.4.6" />
<property name="version" value="1.5.0" />

<property name="jar" value="${dist}/lib/${artifactId}-${version}.jar" />
<property name="unity-jar" value="amplitude-unity-${version}.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>1.4.6</version>
<version>1.5.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 = "1.4.6";
public static final String VERSION = "1.5.0";

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

Expand Down

0 comments on commit c61243e

Please sign in to comment.