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
  • iOS Platform
  • 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 theCoreMetadata is null.
    • Fixed a bug where addMultiValueForKey and addMultiValuesForKey were overwriting the current values of the user properties instead of appending them.

August 24

  • Fixed a bug related to the message sequence in Web Inbox.

August 23

Added

Changes

  • It captures a system event for missed calls when a caller cancels the call manually. This event is reported under the SCEnd system event category.

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.

  • iOS Platform
  • 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 SCCampaignOptOut event to Restricted Events Name list for internal use.
    • Added custom SDK versions to af field for internal use.

Breaking API Changes

  • Android Platform
    • CTFlushPushImpressionsWork breaks custom WorkerFactory implementation of an App as follows:
      • If you use a custom WorkFactory implementation of WorkManager for Android platform, ensure you correctly handle workers defined by CleverTap SDK and other third-party dependencies.
      • You must return null from createWorker() for any unknown workerClassName. For more information on its implementation, refer to the documentation.

Bug Fixes

  • Android Platform
    • Fixed #393. A push permission flow crash when the context in theCoreMetadata is 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 addMultiValueForKey and addMultiValuesForKey were overwriting the current values of the user properties instead of appending them.

August 17

New Features

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 SwiftUIStarter app to support CleverTap iOS SDK for SwiftUI.
  • Added steps to track screen views in SwiftUI. For more information, refer to SwiftUI documentation.

August 11

Added

Changed

  • The index.html file utilized within the SDK has been renamed to a unique name. This prevents conflicts with any identical file names that might already exist in the application.
  • It captures a system event for missed calls when the caller cancels the call manually. This event is reported under the SCEnd system event category.

Fixed

  • Improved the Bluetooth handling to enhance the user experience in the following ways:
    • During an ongoing call, the audio seamlessly switches to Bluetooth when a Bluetooth connection is established.
    • When Bluetooth connectivity is disabled using the call screen button, the audio correctly switches back to the internal speaker.
  • Resolved duplicate reporting of SCIncoming system events caused by receiving duplicate pushes for the same call. This redundancy occurred due to simultaneous notifications from the socket and FCM platforms.

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 addMultiValueForKey and addMultiValuesForKey were overwriting the current values of the user properties instead of appending them.
  • Fixed #393. A push permission flow crash when the context in theCoreMetadata is 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
  • 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 onCleverTapPushPermissionResponseReceived is 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.
  • 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 onCleverTapInboxItemClick callback in Android and the messageDidSelect callback in iOS.

August 4

  • Added performance improvements.
  • Fixed timer discrepancy in the case of reconnection.
  • Fixed UI discrepancy of the mute button in case of reconnection on the other side.
  • Added a platform property in system events.