cordova-plugin-intercom
Advanced tools
Comparing version 3.1.1 to 3.1.2
# Intercom for Cordova/PhoneGap | ||
## 3.1.2 (2017-03-31) | ||
* Fixed compatibility with other Android GCM providers (details are outlined in [#166](https://github.com/intercom/intercom-cordova/pull/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](https://github.com/intercom/intercom-cordova/pull/168)). | ||
## 3.1.1 (2017-03-16) | ||
@@ -4,0 +9,0 @@ |
@@ -1,6 +0,6 @@ | ||
#Example Cordova app | ||
# Example Cordova app | ||
This is a simple Cordova app with an Intercom integration. | ||
##Installing the Cordova CLI | ||
## Installing the Cordova CLI | ||
@@ -14,3 +14,3 @@ To install Cordova, run the following from your command line: | ||
##Configuration | ||
## Configuration | ||
@@ -35,3 +35,3 @@ 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. | ||
##Running the app | ||
## Running the app | ||
@@ -51,9 +51,9 @@ To get started, add your platform(s) of choice: | ||
You can now run your app with the following command: | ||
####iOS | ||
#### iOS | ||
``` | ||
cordova run ios | ||
``` | ||
###Android | ||
### Android | ||
``` | ||
cordova run android | ||
``` |
{ | ||
"name": "cordova-plugin-intercom", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Official Cordova/PhoneGap plugin for Intercom", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -22,8 +22,7 @@ ![Intercom](Example/www/img/Intercom_logo-github.png) | ||
```xml | ||
<plugin name="cordova-plugin-intercom" version="~3.1.1" /> | ||
<plugin name="cordova-plugin-intercom" version="~3.1.2" /> | ||
``` | ||
### Ionic | ||
Intercom is compatible with both Ionic 1 & 2 | ||
To use the Intercom with Ionic, run the following: | ||
Intercom is compatible with both Ionic 1 & 2. To use the Intercom with Ionic, run the following: | ||
```script | ||
@@ -33,3 +32,3 @@ cordova plugin add cordova-plugin-intercom | ||
Make sure you [initialize Intercom](https://developers.intercom.com/docs/cordova-phonegap-installation#section-step-2-initialize-intercom) correctly. | ||
####Ionic 1 | ||
#### Ionic 1 | ||
For Ionic 1 you can use Intercom like this: | ||
@@ -46,3 +45,3 @@ ``` | ||
####Ionic 2 | ||
#### Ionic 2 | ||
For Ionic 2 you need to add the folling variable to your `app.component.ts`: | ||
@@ -49,0 +48,0 @@ |
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
1899443
57
308
76