Skip to content

Releases: intercom/intercom-cordova

5.0.1

23 Jan 14:10
9ba0070
Compare
Choose a tag to compare
  • Removes dependency on PackageManager.GET_META_DATA, which Cordova does not appear to generate any longer for new projects: #239.

5.0.0

22 Jan 13:48
d1c7aa4
Compare
Choose a tag to compare
  • 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 [email protected]
    
  2. Update plugin-cordova-intercom:
    cordova plugin remove cordova-plugin-intercom
    cordova plugin add [email protected]
    
  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

16 Nov 16:49
a655d9b
Compare
Choose a tag to compare

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

4.1.1

15 Nov 12:35
d7fa9fd
Compare
Choose a tag to compare

Fixed issue with diagnostic messages on Android: #219.

4.1.0

02 Nov 13:54
d80678d
Compare
Choose a tag to compare
  • 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

30 Aug 09:35
Compare
Choose a tag to compare
  • 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

18 May 10:35
Compare
Choose a tag to compare

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

3.2.1

03 May 15:17
Compare
Choose a tag to compare
  • Fixed build error reported in #180.

3.2.0

25 Apr 14:52
Compare
Choose a tag to compare
  • 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

05 Apr 13:04
Compare
Choose a tag to compare
  • Added hook to ensure the local CocoaPods specs repo is up to date when installing the plugin (see #170).