Enable mobile users to help themselves with the new mobile SDK for iOS and Android 🎉 😃
The new Intercom mobile SDK brings the Messenger Home to your mobile applications. This means you can add messenger apps that allow your users to self-serve instead of starting a conversation. Users can now quickly access relevant help articles, review pinned content, and view product status in real time – all from the messenger home screen.
These deprecated methods will still work, but will be removed in a future release.
The Business Messenger reimagined.
displayHelpCenter(). Calling this method in your app displays your Articles Help Center. Learn more about Articles here.
phonegap-plugin-pushto allow it to work with this plugin: https://github.com/intercom/phonegap-plugin-push
PackageManager.GET_META_DATA, which Cordova does not appear to generate any longer for new projects: #239.
Deprecates GCM as a push type in favor of FCM. This includes removing the ability to specify a GCM/FCM sender id directly from config.xml. To use push on Android, adding your google-services.json to the root of your project is now required.
cordova-android 7.0.0 release notes, the minimum Android API version supported is now API Level 19.
npm install -g cordova cd my_project cordova platform remove android cordova platform add email@example.com
cordova plugin remove cordova-plugin-intercom cordova plugin add cordova-plugin-intercom
<preference name="android-minSdkVersion" value="19" />
<preference name="intercom-android-push-type" value="FCM"/>to your config.xml
google-services.jsonfile to the root directory of your project.
NB: The above steps may not be exhaustive and are dependent on your app and system Cordova configuration
intercom.setUserHash(userHash)to support Identity Verification. This method replaces
intercom.setSecureMode(hmac, data)which was used for our previous security feature Secure Mode.
displayMessageComposerWithInitialMessagewhich opens up the message composer and takes in a string to pre-populate the message composer with. Example usage
intercom.displayMessageComposerWithInitialMessage("Question asked from the FAQ page: ");
Photos.frameworkto stop iOS build error.
Where is 2.x? We're skipping it. We did this to align the Cordova plugin with our iOS, Android and web counter parts.
Our new Messenger is out of beta! 🎉 You can read all about the updated design and new functionality here.
Added the following methods:
Removed these methods: