Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clevertap-cordova

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clevertap-cordova - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

4

CHANGELOG.md
Change Log
==========
Version 2.0.11 *(29 July, 2018)*
-------------------------------------------
fix android package name
Version 2.0.10 *(25 July, 2018)*

@@ -5,0 +9,0 @@ -------------------------------------------

2

package.json
{
"name": "clevertap-cordova",
"version": "2.0.10",
"version": "2.0.11",
"description": "CleverTap Plugin for Cordova/PhoneGap",

@@ -5,0 +5,0 @@ "cordova": {

@@ -49,22 +49,11 @@ CleverTap Cordova Plugin

##### Workaround For Ionic3
- [see the included Ionic3 Example project for example usage](https://github.com/CleverTap/clevertap-cordova/blob/master/Ionic3Example/src/app/app.component.ts).
##### For Ionic3
```
npm install @ionic-native/clevertap --save
```
- [see the included Ionic3 Example project for usage](https://github.com/CleverTap/clevertap-cordova/blob/master/Ionic3Example/src/app/app.component.ts).
in your typescript:
- be sure to [add CleverTap as a provider in your app module](https://github.com/CleverTap/clevertap-cordova/blob/master/Ionic3Example/src/app/app.module.ts).
```
declare var CleverTap: any;
export class MyApp {
rootPage:any = TabsPage;
getCleverTap = () => {
try {
return CleverTap;
} catch(e) {
console.warn("CleverTap not available in the browser, run in a device/simulator");
return null;
}
};
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, clevertap: CleverTap) {
platform.ready().then(() => {

@@ -76,7 +65,6 @@ // Okay, so the platform is ready and our plugins are available.

var clevertap = this.getCleverTap();
if (clevertap) {
clevertap.setDebugLevel(2);
clevertap.profileGetCleverTapID((id) => {console.log(id)});
}
...
clevertap.setDebugLevel(2);
clevertap.profileGetCleverTapID((id) => {console.log(id)});
...
});

@@ -86,3 +74,2 @@ }

```

@@ -89,0 +76,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc