Skip to content

Commit

Permalink
Released version 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleCantwell committed Aug 16, 2016
1 parent 773a7e3 commit 68665e3
Show file tree
Hide file tree
Showing 56 changed files with 914 additions and 148 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog

## Version 3.0.3

16-08-2016

* Added FCM support
* Deprecated openGcmMessage() and openGcmMessage(TaskStackBuilder customStack) with handlePushMessage() and handlePushMessage(TaskStackBuilder customStack)
* Fixed TCP connections not being fully killed when the application moves into the background
* Unread count listeners will now receive the latest unread count when they are attached
* Fixed an issue where the team profile could have an incorrect height after unlocking your device

## Version 3.0.2

26-07-2016
Expand Down
107 changes: 78 additions & 29 deletions README.md
Expand Up @@ -7,17 +7,29 @@ Add the following dependency to your `build.gradle` file:
```gradle
compile 'io.intercom.android:intercom-sdk:3.+'
```
That includes the base Intercom module including GCM.
If you want to use Intercom FCM replace the line above with the following:

or if you are not using GCM:
```gradle
compile 'io.intercom.android:intercom-sdk-base:3.+'
compile 'io.intercom.android:intercom-sdk-fcm:3.+'
```

If you are not using Intercom push notifications you can just use:

```gradle
compile 'io.intercom.android:intercom-sdk-base:3.+'
```

`.aar` files are also included in this repo if you want to use them instead. If so then you will need to include GCM in your `build.gradle` file.
`.aar` files are also included in this repo if you want to use them instead. If so then you will need to include GCM or FCM dependancies in your `build.gradle` file.

GCM:
```gradle
compile 'com.google.android.gms:play-services-gcm:9.2.1'
compile 'com.google.android.gms:play-services-gcm:9.4.0'
```
FCM:
```gradle
compile 'com.google.firebase:firebase-messaging:9.4.0'
```

## Upgrading from 1.x.x
Expand Down Expand Up @@ -203,33 +215,70 @@ Before version 1.1.0 of our Android SDK was released we included Google’s GCM
## Dependency graph

Here is our complete dependency graph:

intercom-sdk-base
```
+--- project :intercom-sdk-base
| +--- com.android.support:design:24.1.1
| +--- com.android.support:appcompat-v7:24.1.1
| +--- com.android.support:animated-vector-drawable:24.1.1
| +--- com.android.support:support-vector-drawable:24.1.1
+--- com.android.support:design:24.1.1
| +--- com.android.support:support-v4:24.1.1
| +--- com.android.support:support-annotations:24.1.1
| | \--- com.android.support:support-annotations:24.1.1
| +--- com.android.support:recyclerview-v7:24.1.1
| +--- com.facebook.rebound:rebound:0.3.8
| +--- com.squareup:otto:1.3.8
| +--- com.github.bumptech.glide:glide-intercom:3.7.0
| +--- com.squareup.okio:okio:1.9.0
| +--- com.squareup.okhttp3:okhttp:3.4.1
| +--- com.squareup.okhttp3:okhttp-ws:3.4.1
| +--- com.squareup.retrofit2:retrofit:2.1.0
| +--- com.squareup.retrofit2:converter-gson:2.1.0
| +--- com.google.code.gson:gson:2.7
\--- project :intercom-sdk-gcm
\--- com.google.android.gms:play-services-gcm:9.2.1
+--- com.google.android.gms:play-services-base:9.2.1
| +--- com.google.android.gms:play-services-basement:9.2.1
| | \--- com.android.support:support-v4:23.0.0 -> 24.1.1 (*)
| \--- com.google.android.gms:play-services-tasks:9.2.1
| \--- com.google.android.gms:play-services-basement:9.2.1 (*)
+--- com.google.android.gms:play-services-basement:9.2.1 (*)
\--- com.google.android.gms:play-services-iid:9.2.1
+--- com.google.android.gms:play-services-base:9.2.1 (*)
\--- com.google.android.gms:play-services-basement:9.2.1 (*)
| | +--- com.android.support:support-v4:24.1.1 (*)
| | \--- com.android.support:support-annotations:24.1.1
| \--- com.android.support:appcompat-v7:24.1.1
| +--- com.android.support:animated-vector-drawable:24.1.1
| | \--- com.android.support:support-vector-drawable:24.1.1
| | \--- com.android.support:support-v4:24.1.1 (*)
| +--- com.android.support:support-v4:24.1.1 (*)
| \--- com.android.support:support-vector-drawable:24.1.1 (*)
+--- com.android.support:appcompat-v7:24.1.1 (*)
+--- com.android.support:animated-vector-drawable:24.1.1 (*)
+--- com.android.support:support-vector-drawable:24.1.1 (*)
+--- com.android.support:support-v4:24.1.1 (*)
+--- com.android.support:support-annotations:24.1.1
+--- com.android.support:recyclerview-v7:24.1.1 (*)
+--- com.facebook.rebound:rebound:0.3.8
+--- com.squareup:otto:1.3.8
+--- com.github.bumptech.glide:glide-intercom:3.7.0
+--- com.squareup.okio:okio:1.9.0
+--- com.squareup.okhttp3:okhttp:3.4.1
| \--- com.squareup.okio:okio:1.9.0
+--- com.squareup.okhttp3:okhttp-ws:3.4.1
| \--- com.squareup.okhttp3:okhttp:3.4.1 (*)
+--- com.squareup.retrofit2:retrofit:2.1.0
| \--- com.squareup.okhttp3:okhttp:3.3.0 -> 3.4.1 (*)
+--- com.squareup.retrofit2:converter-gson:2.1.0
| +--- com.squareup.retrofit2:retrofit:2.1.0 (*)
| \--- com.google.code.gson:gson:2.7
+--- com.google.code.gson:gson:2.7
+--- io.intercom.android:nexus-client-android:2.0.3
| +--- com.squareup.okhttp3:okhttp:3.4.1 (*)
| \--- com.squareup.okhttp3:okhttp-ws:3.4.1 (*)
+--- io.intercom.android:android-commons:0.0.11
\--- io.intercom.android:intercom-blocks:1.1.2
```

intercom-sdk-gcm
```
+--- com.google.android.gms:play-services-base:9.4.0
| +--- com.google.android.gms:play-services-basement:9.4.0
| | \--- com.android.support:support-v4:23.0.0 -> 24.1.1 (*)
| \--- com.google.android.gms:play-services-tasks:9.4.0
| \--- com.google.android.gms:play-services-basement:9.4.0 (*)
+--- com.google.android.gms:play-services-basement:9.4.0 (*)
\--- com.google.android.gms:play-services-iid:9.4.0
+--- com.google.android.gms:play-services-base:9.4.0 (*)
\--- com.google.android.gms:play-services-basement:9.4.0 (*)
```

intercom-sdk-fcm
```
+--- com.google.android.gms:play-services-basement:9.4.0
| \--- com.android.support:support-v4:23.0.0 -> 24.1.1 (*)
+--- com.google.firebase:firebase-iid:9.4.0
| +--- com.google.android.gms:play-services-basement:9.4.0 (*)
| \--- com.google.firebase:firebase-common:9.4.0
| +--- com.google.android.gms:play-services-basement:9.4.0 (*)
| \--- com.google.android.gms:play-services-tasks:9.4.0
| \--- com.google.android.gms:play-services-basement:9.4.0 (*)
\--- com.google.firebase:firebase-common:9.4.0 (*)
```
Binary file removed aar/intercom-sdk-base/intercom-sdk-base-3.0.2.aar
Binary file not shown.
Binary file added aar/intercom-sdk-base/intercom-sdk-base-3.0.3.aar
Binary file not shown.
Binary file added aar/intercom-sdk-fcm/intercom-sdk-fcm-3.0.3.aar
Binary file not shown.
Binary file removed aar/intercom-sdk-gcm/intercom-sdk-gcm-3.0.2.aar
Binary file not shown.
Binary file added aar/intercom-sdk-gcm/intercom-sdk-gcm-3.0.3.aar
Binary file not shown.
Binary file removed aar/intercom-sdk/intercom-sdk-3.0.2.aar
Binary file not shown.
Binary file added aar/intercom-sdk/intercom-sdk-3.0.3.aar
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/allclasses-frame.html
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>All Classes (intercom-sdk-base API)</title>
<meta name="date" content="2016-07-26">
<meta name="date" content="2016-08-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/allclasses-noframe.html
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>All Classes (intercom-sdk-base API)</title>
<meta name="date" content="2016-07-26">
<meta name="date" content="2016-08-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/constant-values.html
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>Constant Field Values (intercom-sdk-base API)</title>
<meta name="date" content="2016-07-26">
<meta name="date" content="2016-08-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
33 changes: 31 additions & 2 deletions docs/deprecated-list.html
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>Deprecated List (intercom-sdk-base API)</title>
<meta name="date" content="2016-07-26">
<meta name="date" content="2016-08-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down Expand Up @@ -71,6 +71,35 @@
<div class="header">
<h1 title="Deprecated API" class="title">Deprecated API</h1>
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#method">Deprecated Methods</a></li>
</ul>
</div>
<div class="contentContainer"><a name="method">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<table class="deprecatedSummary" border="0" cellpadding="3" cellspacing="0" summary="Deprecated Methods table, listing deprecated methods, and an explanation">
<caption><span>Deprecated Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="io/intercom/android/sdk/Intercom.html#openGcmMessage--">io.intercom.android.sdk.Intercom.openGcmMessage()</a>
<div class="block"><span class="deprecationComment">replaced with <a href="io/intercom/android/sdk/Intercom.html#handlePushMessage--"><code>Intercom.handlePushMessage()</code></a></span></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="io/intercom/android/sdk/Intercom.html#openGcmMessage-android.app.TaskStackBuilder-">io.intercom.android.sdk.Intercom.openGcmMessage(TaskStackBuilder)</a>
<div class="block"><span class="deprecationComment">replaced with <a href="io/intercom/android/sdk/Intercom.html#handlePushMessage-android.app.TaskStackBuilder-"><code>Intercom.handlePushMessage(TaskStackBuilder)</code></a></span></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
Expand Down
4 changes: 2 additions & 2 deletions docs/help-doc.html
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>API Help (intercom-sdk-base API)</title>
<meta name="date" content="2016-07-26">
<meta name="date" content="2016-08-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
20 changes: 16 additions & 4 deletions docs/index-all.html
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>Index (intercom-sdk-base API)</title>
<meta name="date" content="2016-07-26">
<meta name="date" content="2016-08-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down Expand Up @@ -135,6 +135,14 @@ <h2 class="title">G</h2>
</a>
<h2 class="title">H</h2>
<dl>
<dt><span class="memberNameLink"><a href="io/intercom/android/sdk/Intercom.html#handlePushMessage--">handlePushMessage()</a></span> - Method in class io.intercom.android.sdk.<a href="io/intercom/android/sdk/Intercom.html" title="class in io.intercom.android.sdk">Intercom</a></dt>
<dd>
<div class="block">Handle the opening of an Intercom push message</div>
</dd>
<dt><span class="memberNameLink"><a href="io/intercom/android/sdk/Intercom.html#handlePushMessage-android.app.TaskStackBuilder-">handlePushMessage(TaskStackBuilder)</a></span> - Method in class io.intercom.android.sdk.<a href="io/intercom/android/sdk/Intercom.html" title="class in io.intercom.android.sdk">Intercom</a></dt>
<dd>
<div class="block">Handle the opening of an Intercom push message</div>
</dd>
<dt><span class="memberNameLink"><a href="io/intercom/android/sdk/Intercom.html#hideMessenger--">hideMessenger()</a></span> - Method in class io.intercom.android.sdk.<a href="io/intercom/android/sdk/Intercom.html" title="class in io.intercom.android.sdk">Intercom</a></dt>
<dd>
<div class="block">Dismisses the Intercom messenger if it is on screen</div>
Expand Down Expand Up @@ -185,11 +193,15 @@ <h2 class="title">O</h2>
<dl>
<dt><span class="memberNameLink"><a href="io/intercom/android/sdk/Intercom.html#openGcmMessage--">openGcmMessage()</a></span> - Method in class io.intercom.android.sdk.<a href="io/intercom/android/sdk/Intercom.html" title="class in io.intercom.android.sdk">Intercom</a></dt>
<dd>
<div class="block">Handle the opening of a GCM notification</div>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="block"><span class="deprecationComment">replaced with <a href="io/intercom/android/sdk/Intercom.html#handlePushMessage--"><code>Intercom.handlePushMessage()</code></a></span></div>
</div>
</dd>
<dt><span class="memberNameLink"><a href="io/intercom/android/sdk/Intercom.html#openGcmMessage-android.app.TaskStackBuilder-">openGcmMessage(TaskStackBuilder)</a></span> - Method in class io.intercom.android.sdk.<a href="io/intercom/android/sdk/Intercom.html" title="class in io.intercom.android.sdk">Intercom</a></dt>
<dd>
<div class="block">Handle the opening of a GCM notification</div>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="block"><span class="deprecationComment">replaced with <a href="io/intercom/android/sdk/Intercom.html#handlePushMessage-android.app.TaskStackBuilder-"><code>Intercom.handlePushMessage(TaskStackBuilder)</code></a></span></div>
</div>
</dd>
</dl>
<a name="I:R">
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>intercom-sdk-base API</title>
<script type="text/javascript">
targetPage = "" + window.location.search;
Expand Down
4 changes: 2 additions & 2 deletions docs/io/intercom/android/sdk/Intercom.Visibility.html
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Tue Jul 26 13:19:58 IST 2016 -->
<!-- Generated by javadoc (1.8.0_92) on Tue Aug 16 15:26:39 IST 2016 -->
<title>Intercom.Visibility (intercom-sdk-base API)</title>
<meta name="date" content="2016-07-26">
<meta name="date" content="2016-08-16">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
Expand Down

0 comments on commit 68665e3

Please sign in to comment.