Skip to content

Releases: Iterable/react-native-sdk

1.2.0

10 Mar 18:26
d81fc70
Compare
Choose a tag to compare

This version of the SDK replaces for version 1.1.4, which has been removed to avoid version number confusion.

Added

  • Added the allowedProtocols field to IterableConfig.

    Use this array to declare the specific URL protocols that the SDK can expect to see on incoming links (and that it should therefore handle). Doing this will prevent the SDK from opening links that use unexpected URL protocols.

    For example, this code allows the SDK to handle http and tel links:

    const config = new IterableConfig()
    config.allowedProtocols = ["tel", "http"]

    By default, the SDK handles https, action, itbl, and iterable links (regardless of the contents of this array). However, you must explicitly declare any other types of URL protocols you'd like the SDK to handle. Otherwise, the SDK won't open them in the web browser or as deep links.

Changed

1.1.3

27 Oct 17:56
6e6f6a5
Compare
Choose a tag to compare
  • Points to Android SDK 3.3.8 and Swift SDK 6.3.4
  • Android now supports Deep Links via React's Linking Library
  • trackEvent now does not crash in the Android bridge

1.1.2

27 Aug 18:58
099e65f
Compare
Choose a tag to compare
  • Points to iOS SDK 6.3.3 and Android SDK 3.3.5
  • Fixes the bug on Android where in-app messages were not synced on the first launch

1.1.1

11 Aug 20:19
Compare
Choose a tag to compare
  • Updated iOS and Android SDK bindings to 6.3.2 and 3.3.4 respectively; updateCart has been added as an SDK call, and IterableCommerceItem has been updated to have dataFields as an optional field.
  • Fixed setAutoDisplayPaused not being properly threaded (thanks, @prsauer!)

1.1.0

02 Jul 00:15
Compare
Choose a tag to compare

Added

  • Offline events processing

    This feature saves a local copy of events triggered in your app while the device is offline (up to 1000 events). When a connection is re-established and your app is in the foreground, the events will be sent to Iterable.

    Offline events processing is off by default, and we're rolling it out on a customer-by-customer basis. After you start using this version of the SDK, we'll send you a message before we enable the feature on your account (unfortunately, we can't give you an exact timeline for when this will happen). If you have any questions, talk to your Iterable customer success manager.

    To use this feature, you must follow the SDK upgrade instructions.

Updated

  • New properties on the IterableCommerceItem class

    The IterableCommerceItem class (which you can pass to the trackPurchase method on the Iterable class) now includes additional properties (all optional):

    • sku (string) - The item's SKU
    • description (string) - A description of the item
    • url (string) - A URL associated with the item
    • imageUrl (string) - A URL that points to an image of the item
    • categories (string) - Categories to associate with the item

Upgrade instructions for version 1.1.0

To use this version of Iterable's React Native SDK, you'll need to update your native Android application's Application class:

  • Add this import:

    import com.iterable.iterableapi.IterableApi;
  • At the end of the onCreate method, add this line of code:

    IterableApi.setContext(this);

1.0.28

10 May 17:37
e268d9c
Compare
Choose a tag to compare
  • Points to Android SDK version 3.2.14

1.0.27

04 May 01:15
bd67f5a
Compare
Choose a tag to compare
  • Points to iOS SDK 6.2.22 and Android SDK 3.2.13
  • Fixes a date creation bug on the Android bridge

1.1.0-beta2

01 Apr 22:35
Compare
Choose a tag to compare
1.1.0-beta2 Pre-release
Pre-release
  • Fixed crash relating to setting the read state of in-apps on the RN/Android bridge (thanks @rayzeller!)
  • Fixed Xcode 12 compatibility with Podspec (thanks @flochtililoch!)
  • Updated Android and iOS SDK native versions to 3.3.0-beta3 and 6.3.0-beta3 respectively, which enables full support of persistent read state for in-apps
  • Revised peer dependencies to simply just allow for any versions of react and react-native packages to be compatible
  • Fixed JWT timeout handling on the RN/iOS bridge

1.0.26

01 Apr 22:21
d20830d
Compare
Choose a tag to compare
  • Fixed crash relating to setting the read state of in-apps on the RN/Android bridge (thanks @rayzeller!)
  • Fixed Xcode 12 compatibility with Podspec (thanks @flochtililoch!)
  • Updated Android and iOS SDK native versions to 3.2.12 and 6.2.26 respectively, which enables full support of persistent read state for in-apps
  • Revised peer dependencies to simply just allow for any versions of react and react-native packages to be compatible
  • Fixed JWT timeout handling on the RN/iOS bridge

1.0.25

01 Mar 20:38
Compare
Choose a tag to compare

Updated the Android SDK reference to point to the latest stable