React Native

v2.5.0

Release date: 11-15-2024

Deprecated

  • (React Native) Deprecated the phones and emails fields on describeCustomer. The new methods to use are sharedPhones and sharedEmails.This provides clearer visibility on updated customer attributes.
    Note: The deprecated fields will continue to work and may be removed in a future version.

Fixed

  • (React Native) Added experimental support for React Native 0.76.
    • This requires Bridgeless mode to be disabled. See the Requirements page for more information.
  • (Android) Fixed an issue where the navigation would reset after attachment selection in Android OS 33+ devices.
  • (Android) Fixed a SecurityException thrown when monitoring network status via system service callback.
  • (Android) Fixed an IndexOutOfBoundsException occurring when converting chat responses to chat messages for the UI.
  • (iOS) Resolved an issue with the startNewConversation method callback, which previously did not execute in error scenarios. The updated callback now fires on both success and error.
  • (iOS) Fixed a bug that prevented reply types (for example, buttons) from hiding in older messages. This includes an edge case where the same message displayed twice would incorrectly show reply buttons in both the old and new versions.

Added

  • (React Native) Added support for the startNewConversation method.

Native SDK Versions

  • iOS: 5.0.5
  • Android: 3.3.1

v2.4.0

Release date: 11-04-2024

Fixed

  • (React Native) isChatAvailable now returns a boolean on both platforms.
  • (React Native|iOS) Fixed an issue where openConversation could fail to open the SDK.
  • (React Native|iOS) showKbArticle and showKbCategory correctly open the KB UI.
  • (React Native|iOS) setPushToken will now show an informative error, instead of causing a crash.
  • (React Native) Updated the accuracy of various TypeScript types for SDK methods.
  • (React Native) Fixed the parsing of custom attributes within describeCustomer.
  • (iOS) Fixed a crash that would sometimes happen when in an active chat. This was caused by overlapping UITableViewDataSource updates that support the chat view.
  • (iOS) Fixed issues that prevented CSAT messages from incrementing unread count.
  • (iOS) Fixed UI issues that made the chat history screen look different than on web and Android.
  • (Android) Fixed an issue where the unread count indicator failed to update correctly upon receiving an initial outbound message while the app was terminated.
  • (Android) Fixed an issue where the unread count indicator was not set when a conversation received a satisfaction survey while the app was killed. The unread count is now correctly updated when the chat history is reopened.
  • (Android) Fixed a NullPointerException in KusChatFragment.getBinding that occurred when the pull-to-refresh action was still running while the chat screen was closed.
  • (Android) Fixed an issue related to the usage of the OkHttp BOM that caused build failures when using Android Gradle Plugin versions 8.2 or higher.

Added

  • (React Native) Added all to the logLevel type in the configure() method.
  • (React Native) Added a useIsKustomerLoggedIn hook.
  • (React Native) Added an updated Jest testing framework mock for the Kustomer SDK.
  • (React Native) Added the describeConversation method.
  • (iOS) Optimized Assets/Images in SDK to decrease the SDK's impact on app size.
  • Removed embedded SnapKit dependency and marked as Implementation ONLY - made size reduction.
  • (iOS) Removed embedded Reachability dependency and marked as Implementation ONLY - made size reduction.
  • (iOS) Improved logic that fetches the unread count for messages after the app is brought into the foreground.
  • Logic now does not mark any messages as read unless there is an actively open chat conversation.
  • (iOS) Removed embedded Nantes dependency and marked as Implementation ONLY.
  • (iOS) Removed embedded NotificationView dependency and marked as Implementation ONLY.
  • Updated Kustomer logos.

Native SDK Versions

  • iOS: 5.0.4
  • Android: 3.3.0

v2.3.0

Release date: 09-23-2024

Fixed

  • (iOS) Removed Alamofire and AlamofireImage packages from dependencies, reducing the binary size of the iOS SDK.
  • (iOS) Fixed an issue where users could see unread message badges when there were no new messages.
  • (Android) Updated the KusLogOptions to use an enum instead of an integer.
  • (Android) Fixed all of the Android lint errors.
  • (Android) Addressed a rare IllegalStateException error that could be thrown when calling startNewConversation.

Added

  • (React Native) Added support for KustomerChat.close() to programmatically close the Kustomer UI.
  • (React Native) Added support for KustomerChat.describeCustomer().
  • (Android) Added support for Kustomer.isVisible(), not yet supported in React Native.

Native SDK Versions

  • iOS: 5.0.0
  • Android: 3.2.0

v 2.2.0

Release date: 09-09-2024

Fixed

  • (iOS) Chat screen and message bubbles now have no transforms applied to them. This helps mitigate any scrolling bugginess on the chat screen where swipe to dismiss functionality is triggered when scrolling to bottom (most recent) of chat.
  • (iOS) SDK now explicitly calls all registerForRemoteNotifications() requests on the main thread to avoid any crashes when calling from a background thread
  • (Android) Fixed an issue where chat assistant rules were not evaluated in some instances.
  • (Android) Fixed a localization issue in which certain locales set via KustomerOptions.setUserLocale() were not parsed correctly.
  • (Android) Fixed a navigation issue caused by a missing default value.
    (Android) Fixed a minor NullPointerException that occurred when parsing the verifiedAt field for an identified customer.

v2.1.4

Release date: 08-08-2024

Fixed

  • (iOS) Fixed a crash that occurred when scrolling to the bottom of chat history when loading the next page of conversations.
  • (Android) Fixed an issue where the unread message count included messages from different brands.
  • (Android) Fixed a UI glitch that occurred with blank avatars whenever a conversation was opened.

Added

  • (iOS) KustomerUI.Color.quickActionButtonBorder to style quick reply and MLL buttons in chats.
  • (Android) Added pull-to-refresh functionality for the chat conversation view.

Improved

  • (iOS) Quick Reply buttons and MLL buttons are now rendered using quickActionButton, quickActionButtonText, and quickActionButtonBorder colors.

v2.1.3

Release date: 07-01-2024

Fixed

  • (iOS) Fixed a bug where swiping down to dismiss the MLL options screen left chat unable to reselect MLL options
  • (Android) Fixed an issue where featured articles failed to load when opened for non-default brands.
  • (Android) Fixed a minor UI bug in which the "no search results" view text was incorrectly aligned on smaller devices.

Updated

  • (Android) Upgraded knowledge base APIs to v4, enhancing the reliability of handling article locales and translations.

v2.1.2

Released: 03-15-2024

Added

  • Added additional information to configure the SDK for Android or using your JS/JT sources.

Updated

  • Updated KustomerSDK on iOS to 4.0.1.
  • Updated KustomerSDK on Android to 2.13.3.

v2.1.1

Released: 02-23-2024

Added

  • Type definitions.

Improved

  • Reduced build artifact size for iOS. (PubNub is no longer a static framework)

2.1.0

Released: 02-09-2024

Updated

  • Updated KustomerSDK on iOS to 4.0.0
  • Updated KustomerSDK on Android to 2.13.2
  • Called 2.0.1-22 on npmjs.com

v2.0.2

Updated

  • Updated to react-native 0.72.5