Installation
This is a plugin that allows your Cordova app to use Intercom for iOS and/or Intercom for Android.
If you’re new to Intercom, you’ll need to create an account and start your free trial.
👍 OS Requirements
Intercom for iOS supports iOS 15+.
Intercom for Android supports API 22 and above.
Step 1 - Install Intercom
Cordova
To install the plugin in your Cordova app, run the following:
cordova plugin add cordova-plugin-intercom
Step 2 - Initialize Intercom
First, you'll need to get your Intercom app ID and iOS/Android API key. To find these, just select the 'Intercom for iOS' or 'Intercom for Android' option in Settings > Installation > iOS / Android.
Then initialize Intercom by importing Intercom and adding the following to your config.xml
:
<preference name="intercom-app-id" value="your_app_id"/>
<preference name="intercom-ios-api-key" value="ios_sdk-..."/>
<preference name="intercom-android-api-key" value="android_sdk-..."/>
What next?
Once you've installed Intercom you can start using Intercom in your Cordova app.
- Configure it for your Cordova app.
- Enable push notifications so you can send push messages.
- Enable Identity Verification for your Cordova app.