Skip to content

Commit 21dc8e6

Browse files
authored
Merge pull request #507 from intercom/liuting/kill_gcm_readme
Remove GCM from README
2 parents 59d11c8 + 8d8ecd0 commit 21dc8e6

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

README.md

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,9 @@ Engage customers with email, push, and in‑app messages and support them with a
88
Intercom for Android supports API 15 and above.
99

1010
## 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.
1312

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)
2214
Add the following dependency to your app's `build.gradle` file:
2315
```groovy
2416
dependencies {
@@ -27,7 +19,7 @@ dependencies {
2719
}
2820
```
2921

30-
### Option 3: Install Intercom without Push Messaging
22+
### Option 2: Install Intercom without Push Messaging
3123

3224
If you'd rather not have push notifications in your app, you can use this dependency:
3325
```groovy
@@ -37,7 +29,7 @@ dependencies {
3729
```
3830

3931
## 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.
4133

4234
## Sample Apps
4335
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
4638

4739
* Our [installation guide](https://developers.intercom.com/docs/android-installation) contains full setup and initialisation instructions.
4840
* 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).
5042
* Please contact us on [Intercom](https://www.intercom.com/) with any questions you may have, we're only a message away!
5143

5244
## ProGuard
@@ -80,13 +72,6 @@ Optional permissions:
8072

8173
[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.
8274

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.
84-
85-
```xml
86-
<uses-permission android:name="android.permission.WAKE_LOCK" />
87-
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
88-
```
89-
9075
You can also include [VIBRATE](http://developer.android.com/reference/android/Manifest.permission.html#VIBRATE) to enable vibration in push notifications:
9176

9277
```xml
@@ -126,11 +111,6 @@ com.google.code.gson:gson:2.8.2
126111

127112
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.
128113

129-
### intercom-sdk-gcm
130-
```
131-
com.google.android.gms:play-services-gcm:16.0.0
132-
```
133-
134114
### intercom-sdk-fcm
135115
```
136116
com.google.firebase:firebase-messaging:17.3.4

0 commit comments

Comments
 (0)