- Include FCM libraries when building without build plugin #257
- Created fork of
phonegap-plugin-push
to allow it to work with this plugin: https://github.com/intercom/phonegap-plugin-push - Allow FCM notifications without applying build plugin #253
- Update recommended build tool & library versions #252
- Remove broken support for multiple GCM libraries #251
- Fix GCM sender ID reading #250
- Change hook for checkForUpdate to be after_prepare #249
- Fix issue with Intercom pod not being updated / installed when GitHub response was not 200 OK: #246
- Removes dependency on
PackageManager.GET_META_DATA
, which Cordova does not appear to generate any longer for new projects: #239.
-
Supports
cordova-android
7.0.0, the default Android build version when usingcordova-cli
8.0.0, though it may also be specified on earlier versions (tested on Cordova 7.1.0) -
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.
-
Per the
cordova-android
7.0.0 release notes, the minimum Android API version supported is now API Level 19.
Update guide:
- If you have not already done so, update your
cordova-cli
:npm install -g cordova cd my_project cordova platform remove android cordova platform add android@7.0.0
- Update
plugin-cordova-intercom
:cordova plugin remove cordova-plugin-intercom cordova plugin add cordova-plugin-intercom
- Ensure your config.xml specifies an android-minSdkVersion at or above 19:
<preference name="android-minSdkVersion" value="19" />
- To use push on Android:
- Ensure you've added
<preference name="intercom-android-push-type" value="FCM"/>
to your config.xml - Copy your FCM
google-services.json
file to the root directory of your project.
- Ensure you've added
NB: The above steps may not be exhaustive and are dependent on your app and system Cordova configuration
- Further fixes to issue with diagnostic messages on Android: #219.
- Fixed issue with diagnostic messages on Android: #219.
- Updated Intercom for Android to 4.1.x
- Updated Intercom for iOS to 4.1.x
- Added
intercom.logout()
. - Added diagnostic messages for Android build errors.
- Updated Intercom for Android to 4.0.1
- Updated Intercom for iOS to 4.0.1
- Removed deprecated method
intercom.setSecureMode(hmac, data)
. - Added support for iOS 11.
- Added support for Android Oreo.
- Updated GCM & FCM to version 11.
- Prevent unsafe versions of the Support Library being used to fix #182.
- Fixed build error reported in #180.
- Added a new method to the API
intercom.setUserHash(userHash)
to support Identity Verification. This method replacesintercom.setSecureMode(hmac, data)
which was used for our previous security feature Secure Mode. - Updated Intercom for Android to 3.2.x.
- Updated Intercom for iOS to 3.2.x.
- Added hook to ensure the local CocoaPods specs repo is up to date when installing the plugin (see #170).
- Fixed compatibility with other Android GCM providers (details are outlined in #166). It is no longer necessary to use a fork of
phonegap-plugin-push
. - Added hook to automatically update Intercom for iOS via CocoaPods (see #168).
- Removed reliance on hooks for Android FCM support. Gradle is now used for the whole process.
- Improved iOS interoperability with
phonegap-plugin-push
(Fixes #154). - Automatically add
remote-notification
background mode to the app'sInfo.plist
on iOS. - Updated minimum Intercom for iOS version to 3.1.2.
- Updated Intercom for Android to 3.1.x.
- FCM push notifications for Android are now supported. This can be configured by specifying
intercom-android-push-type
in yourconfig.xml
. - Updated Intercom for iOS to 3.1.x.
- Intercom for iOS is now installed via CocoaPods, so updates can be received automatically.
- Updated Intercom for Android to 3.0.18.
- Updated Intercom to provide support for Ionic 2.
- Updated Intercom for Android to 3.0.16.
- Now supports Intercom Educate. Learn more here.
- Updated Intercom for iOS to 3.0.21.
- Updated Intercom for Android to 3.0.15.
- Improved initialization process for Android.
- Updated Intercom for Android to 3.0.12.
- Added NSPhotoLibraryUsageDescription to Info.plist for iOS
- Updated Intercom for iOS to 3.0.17.
- Updated Intercom for iOS to 3.0.16.
- Re-publish to npm to work around registry issue.
- Added a new method
displayMessageComposerWithInitialMessage
which opens up the message composer and takes in a string to pre-populate the message composer with. Example usageintercom.displayMessageComposerWithInitialMessage("Question asked from the FAQ page: ");
- Updated Intercom for Android to 3.0.10.
- Updated Intercom for iOS to 3.0.13.
- Updated Intercom for Android to 3.0.4.
- Fixed #73.
- Fixed #67.
- Added
Photos.framework
to stop iOS build error.
- Updated Intercom for iOS to 3.0.8.
- Updated Intercom for iOS to 3.0.7.
- Updated iOS configuration in
plugin.xml
for compatibility with older versions of Cordova (As reported in #65 & #66).
- Fixed #63.
- Fixed Android 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:
intercom.displayMessenger()
intercom.setLauncherVisibility(visibility)
intercom.setInAppMessageVisibility(visibility)
intercom.unreadConversationCount()
Removed these methods:
intercom.setVisibility(visibility)
intercom.setupGCM()
intercom.openGCMMessage()
intercom.setupAPN(token)
intercom.setPreviewPosition(position)
intercom.setPreviewPadding()
- Fixed Android crash reported in #55.
- Updated Intercom for iOS to 2.3.21.
- Updated Google Play Services for compatibility with other plugins. Fixes #31.
- Updated Intercom for iOS to 2.3.11.
- Updated Intercom for iOS to 2.3.10.
- Updated Intercom for Android to 1.1.7.
- Improved handling of Android dependencies to reduce
Multiple dex files
errors.
- Updated Intercom for iOS to 2.3.5.
- Updated Intercom for Android to 1.1.4.
- App ID and API keys are now configurable in your
config.xml
(fixes https://github.com/intercom/intercom-cordova/issues/1).
- Updated Intercom for iOS to 2.3.4.
- Fixed https://github.com/intercom/intercom-cordova/issues/20.
- Updated Intercom for iOS to 2.3.3.
- Updated Intercom for iOS to 2.3.2.
- Updated Intercom for Android to 1.1.3.
- Updated Intercom for iOS to 2.3.1 and updated Intercom for Android to 1.1.2.
- The plugin is now available through npm.
- Updated Intercom for iOS to 2.3.0 and updated Intercom for Android to 1.1.1.
- Fixed https://github.com/intercom/intercom-cordova/issues/5 and https://github.com/intercom/intercom-cordova/issues/7
- Improved push notification handling by introducing much simpler
intercom.registerForPush(senderId)
. - Updated Intercom for iOS to 2.2.4 and updated Intercom for Android to 1.0.3.
- Initial release of the Intercom plugin for Cordova and PhoneGap.