Cordova/Phonegap

Push notifications setup for Cordova/Phonegap

Intercom for mobile supports Push Notifications on iOS and Google Cloud Messaging (GCM). To get started, you can read our GCM docs here or FCM docs here and our iOS push notification docs here.

iOS

To enable iOS push notifications, simply call the following anywhere in your code:

intercom.registerForPush();

Android

To enable Android FCM push notifications, copy your google-services.json` file into the root directory of your project and add this line to config.xml`

<preference name="intercom-android-push-type" value="FCM"/>

As always, you can contact us via Intercom. We're always here to help πŸ˜€