You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-25Lines changed: 5 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,9 @@ Engage customers with email, push, and in‑app messages and support them with a
8
8
Intercom for Android supports API 15 and above.
9
9
10
10
## Installation
11
-
There are 3 options for installing Intercom on your Android app.
12
-
### Option 1: Install Intercom with Google Cloud Messaging (GCM)
11
+
There are 2 options for installing Intercom on your Android app.
13
12
14
-
Add the following dependency to your app's `build.gradle` file:
15
-
```groovy
16
-
dependencies {
17
-
compile 'io.intercom.android:intercom-sdk:5.+'
18
-
}
19
-
```
20
-
21
-
### Option 2: Install Intercom with Firebase Cloud Messaging (FCM)
13
+
### Option 1: Install Intercom with Firebase Cloud Messaging (FCM)
22
14
Add the following dependency to your app's `build.gradle` file:
23
15
```groovy
24
16
dependencies {
@@ -27,7 +19,7 @@ dependencies {
27
19
}
28
20
```
29
21
30
-
### Option 3: Install Intercom without Push Messaging
22
+
### Option 2: Install Intercom without Push Messaging
31
23
32
24
If you'd rather not have push notifications in your app, you can use this dependency:
33
25
```groovy
@@ -37,7 +29,7 @@ dependencies {
37
29
```
38
30
39
31
## Customer Support
40
-
👋 Contact us with any issues at [Intercom Developer Hub available here](https://developers.intercom.com/docs/intercom-mobile-installation?utm_source=github&utm_campaign=android-help). If you bump into any problems or need more support, just start a conversation using Intercom there and it will be immediately routed to our Customer Support Engineers.
32
+
👋 Contact us with any issues at [Intercom Developer Hub available here](https://developers.intercom.com/installing-intercom/docs/intercom-for-android). If you bump into any problems or need more support, just start a conversation using Intercom there and it will be immediately routed to our Customer Support Engineers.
41
33
42
34
## Sample Apps
43
35
A project with some basic example integrations is provided [here](https://github.com/intercom/intercom-android/tree/master/samples).
@@ -46,7 +38,7 @@ A project with some basic example integrations is provided [here](https://github
46
38
47
39
* Our [installation guide](https://developers.intercom.com/docs/android-installation) contains full setup and initialisation instructions.
48
40
* The [configuration guide](https://developers.intercom.com/docs/android-configuration) provides info on how to configure Intercom for Android.
49
-
* Read our guide on Push Notifications for [GCM](https://developers.intercom.com/docs/android-gcm-push-notifications) and [FCM](https://developers.intercom.com/docs/android-fcm-push-notifications).
41
+
* Read our guide on Push Notifications for [FCM](https://developers.intercom.com/installing-intercom/docs/android-fcm-push-notifications).
50
42
* Please contact us on [Intercom](https://www.intercom.com/) with any questions you may have, we're only a message away!
51
43
52
44
## ProGuard
@@ -80,13 +72,6 @@ Optional permissions:
80
72
81
73
[READ\_EXTERNAL\_STORAGE](http://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE) and [MANAGE_DOCUMENTS](http://developer.android.com/reference/android/Manifest.permission.html#MANAGE_DOCUMENTS) are used for attachments.
82
74
83
-
The necessary GCM permissions ([WAKE_LOCK](http://developer.android.com/reference/android/Manifest.permission.html#WAKE_LOCK) and [RECEIVE](https://developer.android.com/google/gcm/client.html#manifest)) are also included by default in the main package.
You can also include [VIBRATE](http://developer.android.com/reference/android/Manifest.permission.html#VIBRATE) to enable vibration in push notifications:
If you use some of the repackaged libraries in your app, you may want to use a build that depends on them transitively. A guide to using this build can be found [here](https://docs.intercom.com/configure-intercom-for-your-product-or-site/configure-intercom-for-mobile/using-transitive-dependencies-with-intercom-for-android). Using this build involves more work as you need to make sure your app uses the correct version of each library.
0 commit comments