cordova-plugin-intercom
Advanced tools
Comparing version 3.0.23 to 3.0.24
# Intercom for Cordova/PhoneGap | ||
## 3.0.24 (2016-01-16) | ||
* Updated Intercom for Android to [3.0.18](https://github.com/intercom/intercom-android/releases/tag/3.0.18). | ||
## 3.0.23 (2016-12-22) | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "cordova-plugin-intercom", | ||
"version": "3.0.23", | ||
"version": "3.0.24", | ||
"description": "Official Cordova/PhoneGap plugin for Intercom", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -22,4 +22,21 @@ ![Intercom](Example/www/img/Intercom_logo-github.png) | ||
```xml | ||
<plugin name="cordova-plugin-intercom" version="~3.0.23" /> | ||
<plugin name="cordova-plugin-intercom" version="~3.0.24" /> | ||
``` | ||
### Ionic 2 | ||
To use the Intercom with Ionic 2, run the following: | ||
```script | ||
cordova plugin add cordova-plugin-intercom | ||
``` | ||
Then add the folling variable to your `app.component.ts`: | ||
`declare var cordova:any;` | ||
You can then use Intercom like this: | ||
``` | ||
this.platform.ready().then(() => { | ||
cordova.plugins.intercom.registerIdentifiedUser({userId: "12345"}); | ||
cordova.plugins.intercom.setLauncherVisibility('VISIBLE'); | ||
}); | ||
``` | ||
## Example App | ||
@@ -26,0 +43,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
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
42184784
60