Skip to content

Releases: iadvize/iadvize-react-native-sdk

4.0.0 (Cantal)

16 Apr 14:54
Compare
Choose a tag to compare

Features

  • Fixed the Secured Authentication flow being wrongly synchronous. This is a breaking API change, thus the major version update.

Upgrading from 3.4.7 to 4.0.0

In previous versions the Secured Auth callback was synchronous (waiting for a direct return). This was not intended.
This version fixes it by making the flow asynchronous. Here is the updated flow:

// To activate Secured Auth, first set the onJWERequested listener
IAdvizeSDKListeners.onJWERequested(function (eventData: any) {
  console.log('onJWERequested' + ' ' + eventData);

  // TODO Fetch JWE from your 3rd-party auth system
});
// Activate the SDK as usual
await IAdvizeSDK.activate(projectId, '', ...);

// When the JWE is fetched, you must call this API to proceed:
IAdvizeSDK.provideJWE(jwe);

3.4.7 (Cantal)

11 Apr 16:09
Compare
Choose a tag to compare

Bug fixes

  • (Android) Fix secured preferences initialization issue in case of modified decryption key

3.4.6 (Cantal)

09 Apr 08:45
Compare
Choose a tag to compare

Features

  • (Android) Add copy-paste selection in messages

Bug fixes

  • (Android) Fix secured preferences initialization issue with Android auto-backup strategy

3.4.5 (Cantal)

21 Mar 11:18
Compare
Choose a tag to compare

Features

  • (Android) Rework the initiate API, adding a callback + implementing retry behavior (see UPGRADING.md for more info)

Bug fixes

  • Fix markdown links not triggering the SDK click handler
  • (Android) Fix a crash occuring when visitor spam messages
  • (Android) Add some missing obfuscation instructions
  • (iOS) Fix deadlock state in case of first XMPP connection error

3.4.4 (Cantal)

18 Jan 15:24
Compare
Choose a tag to compare

Features

  • Clear iAdvize Push Notifications on chatbox opening
  • Add an API for clearing iAdvize Push Notifications on demand

Bug fixes

  • (iOS) Fix a UI thread crash when displaying error view
  • (iOS) Fix the default browser opening on link clicks

3.4.3 (Cantal)

21 Dec 12:50
Compare
Choose a tag to compare

Features

  • Support simple Markdown syntax inside QuickReply messages
  • Add some translations for GDPR messages (cs, da, pl, sk, sv)
  • Add API to unset GDPR & Secured Auth listeners

Bug fixes

  • (Android) Fix a display issue on ProductOffer messages when no offer pric is set
  • (iOS) Fix GDPR mode not updating after multiple activations

Dependencies

  • (Android) Removed deprecated play-services-safetynet dependency in favor of play-services-basement

3.4.2 (Cantal)

06 Dec 09:27
Compare
Choose a tag to compare

Features

  • (iOS) Support multiline in QuickReply choices

Bug fixes

  • (Android) Fix potential stuck state during GDPR process
  • (Android) Fix conversation not being started properly if network disconnects during MUC/SUB subscription
  • (Android) Remove OnBackPressedHandler which was causing issues in ReactNative back button handling
  • (iOS) Add missing completion call on secured auth activation failure callback
  • (iOS) Fix conversation closing regression caused by the token refresh strategy

Dependencies

The iAdvize SDK Android plugin dependencies were aligned to use React Native 0.72.7 default dependencies to avoid build conflicts:

  • React 18.2.0
  • Kotlin 1.7.22
  • Gradle 7.6
  • Android Gradle Plugin 7.4.1
  • Android minimum SDK 33
  • Android SDK Target 33
  • Android SDK Build Tools 33.0.2

3.4.1 (Cantal)

28 Nov 17:26
Compare
Choose a tag to compare

This version was discontinued due to build issues. Please use the version 3.4.2.

3.4.0 (Cantal)

24 Oct 17:16
Compare
Choose a tag to compare

Features

  • Add automatic auth token refresh management
  • Remove preview image when it is empty (previously used a placeholder)
  • Add onChatboxOpened & onChatboxClosed API

Bug fixes

  • Fix web & markdown links display
  • (iOS) Fix QuickReplies hit detection when no avatar is set
  • (iOS) Review of Chatbox APIs computation on main UI thread

Dependencies

  • (iOS) Xcode target 14.2 -> 15.0
  • (Android) Gradle Plugin 8.1.0 -> 8.1.1

3.3.0 (Beaufort)

09 Aug 14:43
Compare
Choose a tag to compare

Features

  • Allow a more sophisticated message color customization
  • Add a LogLevel mode to remove all logs

Bug fixes

  • Fix conversation management after various network connection issues (phone sleep / app in bakground)
  • (iOS) Fix secured auth token concurrency spam

Dependencies

  • (iOS) Updated min supported iOS platform from 12.0 to 13.0
  • (Android) Gradle Plugin 7.4.1 -> 8.1.0
  • (Android) Build Tools 33.0.1 -> 33.0.2
  • (Android) Kotlin 1.8.10 -> 1.8.21