Skip to content

4.6.0

Latest

Choose a tag to compare

@Sonal-Kachare Sonal-Kachare released this 20 Nov 09:13
d137e94

What's new

  • [Android Platform]

    • Supports CleverTap Android SDK v8.6.0.
    • Send Test previews (In-App, App Inbox, Display Unit) are now shown only when the preview push actually reached the SDK. If your app renders push notifications itself, its Android notification code must keep calling the native CleverTapAPI method pushNotificationViewedEvent(extras) after showing the notification. This is not part of the React Native JS API.
    • A very large queue of waiting In-Apps is now dropped instead of crashing the app with an OutOfMemoryError.
  • [iOS Platform]

    • Adds experimental Swift Package Manager support for React Native 0.87 and later (npx react-native spm). CocoaPods keeps working as before. See iOS with Swift Package Manager.
    • Documents the CocoaPods source line to add to your ios/Podfile ahead of CocoaPods trunk becoming read-only on December 2, 2026. Existing installs are unaffected. See the iOS install instructions.

Bug Fixes

  • [iOS Platform]

    • Fixes setOptOut(userOptOut, true) ignoring allowSystemEvents and discardInAppNotifications(dismissInAppIfVisible) receiving a wrong value on the New Architecture. Affected versions 3.8.0 to 4.5.0.
  • [Android Platform]

    • Fixes a crash when showing a full-screen custom HTML In-App with a very large payload, and re-shows a full-screen In-App if the app was killed while it was on screen.
    • Fixes a startup crash in minified release builds made with AGP 9.
    • Fixes SSL pinning (CLEVERTAP_SSL_PINNING) silently falling back to normal HTTPS. If you use pinning with a custom proxy or handshake domain, make sure its certificate chains to an Amazon Trust Services root.
    • Adds WorkManager 2.9.1 to 2.10.2 compatibility.