August 2023
We are excited to share the August SDK changelog for our product!
Note
Click each SDK header to view the corresponding GitHub repository for release details.
August 28
New Features
- Android Platform
- Added support for CleverTap Android SDK v5.2.0
- iOS Platform
- Added support for CleverTap iOS SDK v5.2.0
- Android and iOS Platform
- Added support for encryption of PII data such as Email, Identity, Name, and Phone. For more information on enabling or disabling encryption, refer to the Usage.md file.
- Added support for custom key-value pairs common to all inbox messages in App Inbox.
Bug Fixes
- Android Platform
- Fixed #393. A push permission flow crash when the context in the
CoreMetadatais null. - Fixed a bug where
addMultiValueForKeyandaddMultiValuesForKeywere overwriting the current values of the user properties instead of appending them.
- Fixed #393. A push permission flow crash when the context in the
August 24
- Fixed a bug related to the message sequence in Web Inbox.
August 18
New Features
- Android Platform
- Added support for CleverTap Android SDK v5.2.0.
Note
CleverTap Core SDK now directly supports RenderMax Push SDK within the CleverTap SDK. Remove the integrated RenderMax SDK before you upgrade to CleverTap React Native SDK for this version.
- Added support for developer-defined default notification channel. For more information about setting up a default channel in your app, refer to the Usage.md file.
Note
This feature is only supported for CleverTap core notifications. Support for push templates will be released soon.
- Added support for CleverTap Android SDK v5.2.0.
- iOS Platform
- Added support for CleverTap iOS SDK v5.2.0.
- Android and iOS Platforms
- Added support for encryption of PII data such as Email, Identity, Name, and Phone. For more information on enabling or disabling encryption, refer to the Encryption.md file.
- Added support for custom key-value pairs common to all inbox messages in App Inbox.
API Changes
- Android Platform
- Added the
SCCampaignOptOutevent to Restricted Events Name list for internal use. - Added custom SDK versions to
affield for internal use.
- Added the
Breaking API Changes
- Android Platform
CTFlushPushImpressionsWorkbreaks customWorkerFactoryimplementation of an App as follows:- If you use a custom
WorkFactoryimplementation ofWorkManagerfor Android platform, ensure you correctly handle workers defined by CleverTap SDK and other third-party dependencies. - You must return null from
createWorker()for any unknownworkerClassName. For more information on its implementation, refer to the documentation.
- If you use a custom
Bug Fixes
- Android Platform
- Fixed #393. A push permission flow crash when the context in the
CoreMetadatais null. - Fixed #428. A race condition when detecting whether an In-App message should appear.
- Fixed Push primer alert dialog freeze behavior, which became unresponsive when clicked outside the window.
- Fixed a bug where
addMultiValueForKeyandaddMultiValuesForKeywere overwriting the current values of the user properties instead of appending them.
- Fixed #393. A push permission flow crash when the context in the
August 17
New Features
- Android Platform
- Added support for CleverTap Android SDK v5.2.0. This supported version includes an encryption feature for PII data. For more information, refer to Encryption usage for Cordova Android.
- iOS specific
- Added support for CleverTap iOS SDK v5.2.0. This supported version includes an encryption feature for PII data. For more information, refer to Encryption usage for Cordova iOS.
- Bug Fixes
- Fixed
NSInvalidArgumentExceptionforgetDisplayUnitForIdandgetInboxMessageForIdin iOS.
- Fixed
August 16
- Added support for encryption of PII data such as Email, Identity, Name, and Phone. For more information on enabling or disabling encryption, refer to Encryption.md file.
- Added support for custom key-value pairs common to all inbox messages in App Inbox.
- Added sample
SwiftUIStarterapp to support CleverTap iOS SDK for SwiftUI. - Added steps to track screen views in SwiftUI. For more information, refer to SwiftUI documentation.
August 10
New Features
- Added support for encryption of PII data such as Email, Identity, Name, and Phone. For more information on enabling or disabling encryption, refer to the Encryption of PII Data.
- Added support for custom key-value pairs common to all inbox messages in AppInbox.
Bug Fixes
- Fixed a bug where
addMultiValueForKeyandaddMultiValuesForKeywere overwriting the current values of the user properties instead of appending them. - Fixed #393. A push permission flow crash when the context in the
CoreMetadatais null.
Bug Fixes
- Updated Xiaomi Push SDK to v5.1.5
- Added support for CleverTap Android SDK v5.2.0
Bug Fixes
- Updated Huawei Push SDK to v6.11.0.300
- Added support for CleverTap Android SDK v5.2.0
August 8
New Features
- Android Platform
- Added support for CleverTap Android SDK v5.1.0
- Added support for Cordova Android SDK v12.0.0
- Added support for
deleteInboxMessagesForIds(messageIDs) - Added a new callback
onCleverTapInAppNotificationShow(JSONObject) - Added the below behavioral changes of
onCleverTapInboxItemClick- Previously, the callback was raised when the App Inbox Item was clicked.
- Now, it is also raised when the App Inbox button and Item are clicked.
- Fixed an XSS vulnerability. We recommend you update to v2.7.0 or above.
- iOS Platform
- Added support for CleverTap iOS SDK v5.1.2
- Added support for Cordova iOS v7.0.0
- For Android and iOS
- Added the below new public APIs to support Android 13 notification runtime permission:
isPushPermissionGranted(successCallback). For more information, refer to Usage.promptPushPrimer(JSONObject). For more information, refer to Usage.promptForPushPermission(boolean). For more information, refer to Usage.- New callback
onCleverTapPushPermissionResponseReceivedis available. It returns after the user allows/denies notification permission. For more information, refer to Usage.
- Added a new API,
markReadInboxMessagesForIds(messageIDs)to mark read an array of Inbox Messages. - Added a new API,
dismissInbox()to dismiss the App Inbox.
- Added the below new public APIs to support Android 13 notification runtime permission:
- API Changes
- Obsolete methods and callbacks associated with Product Config and Feature Flags are now labeled as deprecated.
- Breaking API Changes
- Modifications in return values for the
onCleverTapInboxItemClickcallback in Android and themessageDidSelectcallback in iOS.
- Modifications in return values for the
Updated 8 days ago
