Skip to content

Commit 3402a6c

Browse files
watadarkstarbrowniefed
authored andcommitted
Add Install Intercom without Push Messaging (#267)
Add Install Intercom without Push Messaging to README
1 parent 33310a0 commit 3402a6c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ React Native wrapper for Intercom.io. Based off of [intercom-cordova](https://gi
150150
}
151151
```
152152
153-
1. Decide which type of push messaging you want to install, and add choosen method to `android/app/build.gradle`. If "Google Cloud Messaging (GCM)", then:
153+
1. Decide which type of push messaging you want to install, and add choosen method to `android/app/build.gradle`.
154+
155+
If "Google Cloud Messaging (GCM)", then:
154156
155157
```gradle
156158
dependencies {
@@ -171,6 +173,13 @@ React Native wrapper for Intercom.io. Based off of [intercom-cordova](https://gi
171173
compile 'com.google.firebase:firebase-messaging:11.+'
172174
}
173175
```
176+
If you'd rather not have push notifications in your app, you can use this dependency:
177+
178+
```gradle
179+
dependencies {
180+
implementation 'io.intercom.android:intercom-sdk-base:5.+'
181+
}
182+
```
174183
175184
1. Import Intercom and use methods
176185

0 commit comments

Comments
 (0)