clevertap-cordova
Advanced tools
Comparing version 3.1.0 to 3.2.0
Change Log | ||
========== | ||
Version 3.2.0 *(August 12, 2024)* | ||
------------------------------------------- | ||
#### New Features | ||
**Android Specific** | ||
* Supports [CleverTap Android SDK v6.2.1](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev6.2.1). | ||
* Supports Android 14, made it compliant with Android 14 requirements. Details [here](https://developer.android.com/about/versions/14/summary). | ||
* Extends the push primer callback to notify permission denial when cancel button is clicked on `PromptForSettings` alert dialog. | ||
* Adds Accessibility ids for UI components of SDK. | ||
* Migrates `JobScheduler` to `WorkManager` for [Pull Notifications](https://developer.clevertap.com/docs/android-push#pull-notification). | ||
#### Bug Fixes | ||
**Android Specific** | ||
* Fixes [#239](https://github.com/CleverTap/clevertap-cordova/issues/239), an issue where the `onPushNotification` callback was not triggered when notification was tapped from the `killed` state on `capacitor` apps. | ||
* Fixes InApps crash in a rare activity destroyed race condition. | ||
* Fixes Potential ANR in a race condition of SDK initialisation in multithreaded setup. | ||
* Fixes a bug in Client Side InApps with regards to frequency limits. | ||
* Fixes a crash due to `NullPointerException` related to `deviceInfo.deviceId`. | ||
* Fixes an ANR related to `isMainProcess` check. | ||
* Fixes an ANR due to eager initialisation of `CtApi` triggered by DeviceId generation. | ||
#### Breaking API Changes | ||
* Removes all `Xiaomi` related public methods as the `Xiaomi` SDK has been discontinued. Details [here](https://developer.clevertap.com/docs/discontinuation-of-xiaomi-push-service). | ||
Version 3.1.0 *(April 27, 2024)* | ||
@@ -4,0 +28,0 @@ ------------------------------------------- |
{ | ||
"name": "clevertap-cordova", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "CleverTap Plugin for Cordova/PhoneGap", | ||
@@ -38,2 +38,7 @@ "cordova": { | ||
"cordova": ">=12.0.0" | ||
}, | ||
"3.2.0": { | ||
"cordova-ios": ">=4.3.0", | ||
"cordova-android": ">=13.0.0", | ||
"cordova": ">=12.0.0" | ||
} | ||
@@ -40,0 +45,0 @@ } |
@@ -22,3 +22,3 @@ <p align="center"> | ||
- [CleverTap Android SDK version 6.0.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev6.0.0_ptv1.2.2) | ||
- [CleverTap Android SDK version 6.2.1](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev6.2.1) | ||
- [CleverTap iOS SDK version 6.2.1](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/6.2.1) | ||
@@ -25,0 +25,0 @@ |
@@ -8,7 +8,3 @@ // Copyright (C) 2015 CleverTap | ||
var CleverTap = function () { | ||
const libName = 'Cordova'; | ||
const libVersion = 30100; | ||
cordova.exec(null, null, "CleverTapPlugin", "setLibrary", [libName, libVersion]); | ||
} | ||
var CleverTap = function () {} | ||
@@ -65,7 +61,2 @@ /******************* | ||
// Sets the devices Xiaomi push token | ||
CleverTap.prototype.setPushXiaomiToken = function (token,region) { | ||
cordova.exec(null, null, "CleverTapPlugin", "setPushXiaomiTokenAsString", [token,region]); | ||
} | ||
// Sets the devices Baidu push token | ||
@@ -72,0 +63,0 @@ CleverTap.prototype.setPushBaiduToken = function (token) { |
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
296792
26
3133