cordova-plugin-intercom
Advanced tools
Comparing version 3.1.0 to 3.1.1
# Intercom for Cordova/PhoneGap | ||
## 3.1.0 (2016-03-10) | ||
## 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](https://github.com/intercom/intercom-cordova/issues/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](https://github.com/intercom/intercom-ios/releases/tag/3.1.2). | ||
## 3.1.0 (2017-03-10) | ||
* Updated Intercom for Android to [3.1.x](https://github.com/intercom/intercom-android/releases/). | ||
@@ -6,0 +13,0 @@ * FCM push notifications for Android are now supported. This can be configured by specifying `intercom-android-push-type` in your `config.xml`. |
@@ -17,3 +17,2 @@ #Example Cordova app | ||
Before you run your app, you'll need to add your Intercom **AppID** and **API Key** to `config.xml` for both Android and/or iOS. | ||
For Android, if you want to enable GCM in the test app make sure you set your sender_id as well. | ||
```xml | ||
@@ -23,3 +22,13 @@ <preference name="intercom-app-id" value="YOUR_APP_ID"/> | ||
<preference name="intercom-android-api-key" value="YOUR_ANDROID_API_KEY"/> | ||
``` | ||
If you want to enable Android FCM push notifications copy your `google-services.json` file into the `Example/` folder add this line to `config.xml`: | ||
```xml | ||
<preference name="intercom-android-push-type" value="FCM"/> | ||
``` | ||
If you want to enable Android GCM push notifications add these lines to `config.xml`, with your own sender_id: | ||
```xml | ||
<preference name="intercom-android-sender-id" value="YOUR_ANDROID_SENDER_ID"/> | ||
<preference name="intercom-android-push-type" value="GCM"/> | ||
``` | ||
@@ -26,0 +35,0 @@ |
{ | ||
"name": "cordova-plugin-intercom", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Official Cordova/PhoneGap plugin for Intercom", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -22,3 +22,3 @@ ![Intercom](Example/www/img/Intercom_logo-github.png) | ||
```xml | ||
<plugin name="cordova-plugin-intercom" version="~3.1.0" /> | ||
<plugin name="cordova-plugin-intercom" version="~3.1.1" /> | ||
``` | ||
@@ -25,0 +25,0 @@ ### Ionic |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1894041
55
213