2.2.0
⚠️ NOTE
2.2.0 produces a crash, please update to 2.2.1 and above.
What's new
-
[Android Platform]
- Supports CleverTap Android SDK v6.2.0.
-
[iOS Platform]
- Supports CleverTap iOS SDK v6.2.0.
- Updates privacy manifests.
API Changes
- Removes all Xiaomi related public methods as the Xiaomi SDK has been discontinued. Details here.
- Changes the function definition of
setPushToken
tosetPushToken: function (token, type)
i.e it no more acceptsregion
as a parameter.
Bug Fixes
-
[Android Platform]
- Extends the push primer callback to notify permission denial when cancel button is clicked on
PromptForSettings
alert dialog. - Fixes a crash due to
NullPointerException
related todeviceInfo.deviceId
. - Fixes an ANR related to
isMainProcess
check. - Fixes an ANR due to eager initialisation of
CtApi
triggered by DeviceId generation. - Fixes an android build issue related to
package name not found
for apps withReactNative
version 0.70 or lower.
- Extends the push primer callback to notify permission denial when cancel button is clicked on
-
[iOS Platform]
- Fixes a bug where client side in-apps were not discarded when rendering status is set to "discard".