Skip to content

Latest commit

 

History

History
335 lines (207 loc) · 14.5 KB

CHANGELOG.md

File metadata and controls

335 lines (207 loc) · 14.5 KB

Intercom for Cordova/PhoneGap

5.1.1 (2018-02-26)

  • Include FCM libraries when building without build plugin #257

5.1.0 (2018-02-26)

  • 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

5.0.2 (2018-02-12)

  • Fix issue with Intercom pod not being updated / installed when GitHub response was not 200 OK: #246

5.0.1 (2018-01-23)

  • Removes dependency on PackageManager.GET_META_DATA, which Cordova does not appear to generate any longer for new projects: #239.

5.0.0 (2018-01-22)

  • Supports cordova-android 7.0.0, the default Android build version when using cordova-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:

  1. 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
    
  2. Update plugin-cordova-intercom:
    cordova plugin remove cordova-plugin-intercom
    cordova plugin add cordova-plugin-intercom
    
  3. Ensure your config.xml specifies an android-minSdkVersion at or above 19:
    • <preference name="android-minSdkVersion" value="19" />
  4. 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.

NB: The above steps may not be exhaustive and are dependent on your app and system Cordova configuration

4.1.2 (2017-11-16)

  • Further fixes to issue with diagnostic messages on Android: #219.

4.1.1 (2017-11-15)

  • Fixed issue with diagnostic messages on Android: #219.

4.1.0 (2017-11-02)

  • 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.

4.0.0 (2017-08-29)

  • 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.

3.2.2 (2017-05-17)

  • Prevent unsafe versions of the Support Library being used to fix #182.

3.2.1 (2017-05-03)

  • Fixed build error reported in #180.

3.2.0 (2017-04-21)

  • Added a new method to the API intercom.setUserHash(userHash) to support Identity Verification. This method replaces intercom.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.

3.1.3 (2017-04-05)

  • Added hook to ensure the local CocoaPods specs repo is up to date when installing the plugin (see #170).

3.1.2 (2017-03-31)

  • 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).

3.1.1 (2017-03-16)

  • 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's Info.plist on iOS.
  • Updated minimum Intercom for iOS version to 3.1.2.

3.1.0 (2017-03-10)

  • 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 your config.xml.
  • Updated Intercom for iOS to 3.1.x.
  • Intercom for iOS is now installed via CocoaPods, so updates can be received automatically.

3.0.26 (2016-01-25)

  • Updated Intercom for Android to 3.0.20.
  • Updated Intercom for iOS to 3.0.24.

3.0.25 (2016-01-20)

  • Updated Intercom for Android to 3.0.19.
  • Updated Intercom for iOS to 3.0.23.

3.0.24 (2016-01-16)

  • Updated Intercom for Android to 3.0.18.

3.0.23 (2016-12-22)

  • Updated Intercom to provide support for Ionic 2.

3.0.22 (2016-12-19)

  • Updated Intercom for iOS to 3.0.22.
  • Updated Intercom for Android to 3.0.17.

3.0.21 (2016-12-14)

  • Updated Intercom for Android to 3.0.16.

3.0.20 (2016-12-06)

  • Now supports Intercom Educate. Learn more here.
  • Updated Intercom for iOS to 3.0.21.
  • Updated Intercom for Android to 3.0.15.

3.0.19 (2016-11-21)

  • Improved initialization process for Android.

3.0.18 (2016-11-18)

  • Updated Intercom for iOS to 3.0.19.
  • Updated Intercom for Android to 3.0.13.

3.0.17 (2016-11-10)

  • Updated Intercom for Android to 3.0.12.
  • Added NSPhotoLibraryUsageDescription to Info.plist for iOS

3.0.16 (2016-11-07)

  • Updated Intercom for Android to 3.0.11.
  • Updated Intercom for iOS to 3.0.18.

3.0.15 (2016-10-19)

  • Updated Intercom for iOS to 3.0.17.

3.0.14 (2016-10-18)

  • Updated Intercom for iOS to 3.0.16.

3.0.13 (2016-10-12)

  • Re-publish to npm to work around registry issue.

3.0.12 (2016-10-10)

  • Added a new method displayMessageComposerWithInitialMessage which 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: ");
  • Updated Intercom for Android to 3.0.10.
  • Updated Intercom for iOS to 3.0.13.

3.0.11 (2016-09-16)

  • Updated Intercom for Android to 3.0.9.
  • Updated Intercom for iOS to 3.0.12.

3.0.10 (2016-09-09)

  • Updated Intercom for Android to 3.0.7.
  • Updated Intercom for iOS to 3.0.11.

3.0.9 (2016-08-29)

  • Updated Intercom for Android to 3.0.4.

3.0.8 (2016-08-19)

3.0.7 (2016-08-16)

  • Fixed #70.
  • Fixed #71.
  • Updated Intercom for Android to 3.0.3.
  • Updated Intercom for iOS to 3.0.10.

3.0.6 (2016-08-10)

  • Fixed #67.
  • Added Photos.framework to stop iOS build error.

3.0.5 (2016-08-05)

  • Updated Intercom for iOS to 3.0.8.

3.0.4 (2016-08-03)

  • 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).

3.0.3 (2016-07-29)

  • Updated Intercom for iOS to 3.0.4.
  • Fixed #64.
  • Changed minimum Cordova version to 4.0.0.

3.0.2 (2016-07-27)

3.0.1 (2016-07-27)

  • Fixed Android build error.

3.0.0 (2016-07-26)

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.

  • Updated Intercom for iOS to 3.0.3.
  • Updated Intercom for Android to 3.0.2.

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()

1.1.7 (2016-06-02)

  • Fixed Android crash reported in #55.

1.1.6 (2016-05-25)

  • Updated Intercom for iOS to 2.3.21.

1.1.5 (2016-04-11)

  • Fixed Cordova CLI 6.1.1 compatibility. Fixes #48.
  • Updated Intercom for iOS to 2.3.19.

1.1.4 (2016-01-11)

  • Updated Google Play Services for compatibility with other plugins. Fixes #31.

1.1.3 (2015-10-08)

  • Updated Intercom for iOS to 2.3.18.
  • Updated Intercom for Android to 1.1.+.

1.1.2 (2015-10-08)

  • Updated Intercom for iOS to 2.3.11.

1.1.1 (2015-10-01)

  • 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.

1.1.0 (2015-09-21)

1.0.9 (2015-09-11)

1.0.8 (2015-08-18)

  • Updated Intercom for iOS to 2.3.3.

1.0.7 (2015-08-05)

  • Updated Intercom for iOS to 2.3.2.

1.0.6 (2015-07-28)

  • Updated Intercom for Android to 1.1.3.

1.0.5 (2015-07-20)

  • Updated Intercom for iOS to 2.3.1 and updated Intercom for Android to 1.1.2.
  • The plugin is now available through npm.

1.0.2 (2015-07-01)

1.0.1 (2015-06-05)

  • 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.

1.0.0 (2015-05-25)

  • Initial release of the Intercom plugin for Cordova and PhoneGap.