clevertap-cordova
Advanced tools
Comparing version 2.7.1 to 2.7.2
Change Log | ||
========== | ||
Version 2.7.2 *(December 5, 2023)* | ||
------------------------------------------- | ||
#### New Features | ||
**Android specific** | ||
* Supports [CleverTap Android SDK v5.2.1](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev5.2.1_xpsv1.5.4). This supported version includes support for Custom Proxy Domain functionality. Check usage for cordova android [here](docs/Integrate-Android.md#integrate-custom-proxy-domain). | ||
**iOS specific** | ||
* Supports [CleverTap iOS SDK v5.2.2](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/5.2.2). This supported version includes support for Custom Proxy Domain functionality. Check usage for cordova ios [here](docs/Integrate-iOS.md#integrate-custom-proxy-domain). | ||
#### Bug Fixes | ||
* Fixes a crash in iOS 17/Xcode 15 related to alert inapps. | ||
**Common for both android and iOS** | ||
* Adds new public API `setLocale(String locale)` for in-built support to send the custom locale(i.e.language and country) data to the dashboard. | ||
* Adds support for Integration Debugger to view errors and events on the dashboard when the debugLevel is set to 3. | ||
Version 2.7.1 *(August 17, 2023)* | ||
@@ -4,0 +21,0 @@ ------------------------------------------- |
@@ -158,2 +158,25 @@ # 👩💻 Android Integration | ||
## Integrate Custom Proxy Domain | ||
The custom proxy domain feature allows to proxy all events raised from the CleverTap SDK through your required domain, ideal for handling or relaying CleverTap events and Push Impression events with your application server. Refer following steps to configure the custom proxy domain(s) in the manifest file From Cordova SDK `v2.7.2` onwards: | ||
#### Configure Custom Proxy Domain(s) using Manifest file | ||
1. Add your CleverTap Account credentials in the Manifest file against the `CLEVERTAP_ACCOUNT_ID` and `CLEVERTAP_TOKEN` keys. | ||
2. Add the **CLEVERTAP_PROXY_DOMAIN** key with the proxy domain value for handling events through the custom proxy domain. | ||
3. Add the **CLEVERTAP_SPIKY_PROXY_DOMAIN** key with proxy domain value for handling push impression events. | ||
```xml | ||
<meta-data | ||
android:name="CLEVERTAP_ACCOUNT_ID" | ||
android:value="YOUR ACCOUNT ID" /> | ||
<meta-data | ||
android:name="CLEVERTAP_TOKEN" | ||
android:value="YOUR ACCOUNT TOKEN" /> | ||
<meta-data | ||
android:name="CLEVERTAP_PROXY_DOMAIN" | ||
android:value="YOUR PROXY DOMAIN"/> <!-- e.g., analytics.sdktesting.xyz --> | ||
<meta-data | ||
android:name="CLEVERTAP_SPIKY_PROXY_DOMAIN" | ||
android:value="YOUR SPIKY PROXY DOMAIN"/> <!-- e.g., spiky-analytics.sdktesting.xyz --> | ||
``` | ||
## Integrate Javascript with the Plugin | ||
@@ -160,0 +183,0 @@ |
@@ -26,2 +26,10 @@ # 👩💻 iOS Integration | ||
## Integrate Custom Proxy Domain | ||
The custom proxy domain feature allows to proxy all events raised from the CleverTap SDK through your required domain, ideal for handling or relaying CleverTap events and Push Impression events with your application server. Refer following steps to configure the custom proxy domain(s) in the `Info.plist` file. | ||
#### Configure Custom Proxy Domain(s) using Info.plist file | ||
1. Add your CleverTap Account credentials in the *Info.plist* file against the `CleverTapAccountID` and `CleverTapToken` keys, if they are empty/do not exist. | ||
2. Add the `CleverTapProxyDomain` key with the proxy domain value for handling events through the custom proxy domain e.g., *analytics.sdktesting.xyz*. | ||
3. Add the `CleverTapSpikyProxyDomain` key with proxy domain value for handling push impression events e.g., *spiky-analytics.sdktesting.xyz*. | ||
## Integrate Javascript with the Plugin | ||
@@ -28,0 +36,0 @@ |
{ | ||
"name": "clevertap-cordova", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "CleverTap Plugin for Cordova/PhoneGap", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -10,3 +10,3 @@ // Copyright (C) 2015 CleverTap | ||
const libName = 'Cordova'; | ||
const libVersion = 20701; | ||
const libVersion = 20702; | ||
cordova.exec(null, null, "CleverTapPlugin", "setLibrary", [libName, libVersion]); | ||
@@ -704,2 +704,8 @@ } | ||
// Set Locale | ||
// locale = string | ||
CleverTap.prototype.setLocale = function (locale) { | ||
cordova.exec(null, null, "CleverTapPlugin", "setLocale", [locale]); | ||
} | ||
function convertDateToEpochInProperties(items){ | ||
@@ -706,0 +712,0 @@ //Conversion of date object in suitable CleverTap format |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
291951
23
650
1