New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

clevertap-cordova

Package Overview
Dependencies
Maintainers
9
Versions
71
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.7.0 to 2.7.1

16

CHANGELOG.md
Change Log
==========
Version 2.7.1 *(August 17, 2023)*
-------------------------------------------
#### New Features
**Android specific**
* Supports [CleverTap Android SDK v5.2.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev5.2.0_hmsv1.3.3_xpsv1.5.3). This supported version includes encryption feature for PII data. Check encryption usage for cordova android [here](docs/Integrate-Android.md#setup-encryption-for-pii-data).
**iOS specific**
* Supports [CleverTap iOS SDK v5.2.0](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/5.2.0). This supported version includes encryption feature for PII data. Check encryption usage for cordova ios [here](docs/Integrate-iOS.md#setup-encryption-for-pii-data).
#### Bug Fixes
* Fixes `NSInvalidArgumentException` for `getDisplayUnitForId` and `getInboxMessageForId` in iOS.
Version 2.7.0 *(August 2, 2023)*

@@ -66,2 +79,5 @@ -------------------------------------------

#### Bug fixes
* Fixes an XSS vulnerability - https://fluidattacks.com/advisories/maiden/ We recommend all users to update to v2.7.0 or above.
Version 2.6.2 *(April 18, 2023)*

@@ -68,0 +84,0 @@ -------------------------------------------

@@ -141,3 +141,19 @@ # 👩‍💻 Android Integration

## Setup encryption for PII data
PII data is stored across the SDK and could be sensitive information.
From Cordova SDK `v2.7.1`. onwards, you can enable encryption for PII data wiz. **Email, Identity, Name and Phone**.
Currently 2 levels of encryption are supported i.e None(0) and Medium(1). Encryption level is None by default.
**None** - All stored data is in plaintext
**Medium** - PII data is encrypted completely.
Add encryption level in the `AndroidManifest.xml` as following,
```xml
<meta-data
android:name="CLEVERTAP_ENCRYPTION_LEVEL"
android:value="1" />
```
## Integrate Javascript with the Plugin

@@ -144,0 +160,0 @@

@@ -15,2 +15,13 @@ # 👩‍💻 iOS Integration

## Setup encryption for PII data
PII data is stored across the SDK and could be sensitive information.
From Cordova SDK `v2.7.1`. onwards, you can enable encryption for PII data wiz. **Email, Identity, Name and Phone**.
Currently 2 levels of encryption are supported i.e None(0) and Medium(1). Encryption level is None by default.
**None** - All stored data is in plaintext
**Medium** - PII data is encrypted completely.
The only way to set encryption level is from the info.plist. Add the `CleverTapEncryptionLevel` String key to `info.plist` file where value 1 means Medium and 0 means None. Encryption Level will be None if any other value is provided.
## Integrate Javascript with the Plugin

@@ -17,0 +28,0 @@

2

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

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

@@ -10,3 +10,3 @@ // Copyright (C) 2015 CleverTap

const libName = 'Cordova';
const libVersion = 20603;
const libVersion = 20701;
cordova.exec(null, null, "CleverTapPlugin", "setLibrary", [libName, libVersion]);

@@ -13,0 +13,0 @@ }

Sorry, the diff of this file is not supported yet

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