Skip to content

Releases: unflowhq/unflow-react-native-sdk

v1.15.1

06 Feb 10:33
29b157a
Compare
Choose a tag to compare

iOS

Fixes

  • Close actions will now behave as expected in Flows.
  • Screens with their completion actions empty will now allow normal logic to take place.
  • Stops a bug where blocks could sometimes be re-ordered.
  • When you use the pause function, and provide a push notification, it will now only show the content when you call resume.

Android

Fixes

  • Close actions will now behave as expected in Flows.
  • Screens with their completion actions empty will now allow normal logic to take place.
  • Stops a bug where blocks could sometimes be re-ordered.

v1.15.0

18 Jan 19:29
413d45b
Compare
Choose a tag to compare

Added

  • You can use clearUserSession to remove the users attributes, and clear their ID.
  • Flows.

Changes

  • UnflowAnalyticsListener has a new required function to accept updates for attributes.

Fixes

  • If you provide a push notification to us, we'll not show the resulting pop up if the SDK is paused. It will only show when you call resume.
  • Button styles will now match across iOS and Android.

v1.14.2

16 Dec 14:48
91eeca0
Compare
Choose a tag to compare

iOS

Changes

  • We've continued to improve the images on articles, specifically on smaller devices and those on older versions.

Fixes

  • On iOS 13, carousels will now open and close as expected.
  • On iOS 13, the story indicator will now animate correctly.
  • On iOS 13, images will load the same as 14 and up.

Android

Changes

  • We've continued to improve the images on articles, specifically on smaller devices.

v1.14.1

08 Dec 22:35
Compare
Choose a tag to compare

This SDK update makes a change to how images are sized on our articles. We used to try to squish the image around to make sure that it looks good, but we realised that it's actually better to just be consistent.

With that in mind, we've now switched all of our articles screens to use a 4:3 image up top, which will be sized based on the width of the device. Your image will be center cropped.

For a helping hand with visualising this, please use our Figma Template.

Your existing articles should generally look better out of the box, with a much closer match to the dashboard, but we'd reccomend giving them a once over to make sure they look great.

Changes

  • Article images are now 4/3 always, regardless of the content of the image

v1.14.0

24 Nov 16:56
4d10f6b
Compare
Choose a tag to compare

Changes

  • When you have a page with a single select question block, it will no longer automatically close after selection.
  • When you have a carousel with a single select question block, it will no longer automatically push the next page after selection.
  • The pause function will now also prevent screens from push notifications from showing. When you pause the SDK and a user opens a push, it will only show the screen after you've called resume.
  • When a user selects a button with a deeplink, we'll close our actvity/view controller for you.
  • When you call any function within the Unflow SDK, an error will be thrown if you provide an invalid value. For example, if you try to provide null in place of a non nullable parameter. Be sure to wrap your functions in a catch block.

Added

  • You can now configure if a question requires a response or not.

Fixed

  • The pause function will no longer stop manual calls to openScreen from opening.
  • On Android, we've improved the layouts for our visual screens to hug most of the time, and flex when it would look better.
  • When closing a page via a link, the animation has been corrected.

v1.13.1

04 Nov 15:02
21c7a06
Compare
Choose a tag to compare

Fixed

  • When displaying a small modal on Android, it will now correctly hug its content.

v1.13.0

01 Nov 11:18
96c1cb4
Compare
Choose a tag to compare

Changes

  • Due to a known issue in Xcode 14, we've removed AsyncStream from our SDK ( and switched it to Combine ).
  • Images will now display with a maximum height, ensuring that on smaller devices the experience is improved without compromising on larger devices.

Added

  • The close button can now be hidden provided there's some other way to close the screen.
  • Support for the next/done button text to be changeable.
  • You can provide your locale and language to Unflow in preparation for a future feature.

Fixed

  • Avoid presenting a screen twice if openScreen is called concurrently for the same screen.
  • Tracked dates will now be stored correctly as millis since 1970.
  • Setting attributes in the iOS wrapper will now correctly store them, and warn you if it can’t.

v1.12.2

18 Oct 14:23
35d760c
Compare
Choose a tag to compare

Changes

  • Most of our iOS methods now run under concurrency, via the MainActor.

Added

  • You can now provide your push tokens directly in JavaScript.

Fixed

  • Non-string user attributes should now behave as expected when tracking in JavaScript.
  • Handled a rare memory related crash inside the iOS bridge.
  • The sample opener will now handle if the subtitle is missing.

v1.12.1

05 Oct 17:53
ad57f3b
Compare
Choose a tag to compare

Changes

  • The events for the user entering text will now only send when the page containing the text transitions, rather than periodically as they type.

Added

  • Implemented the native analytics listener so events can be captured in Javascript.
  • A new standalone free text entry that doesn't require a question block.

Fixed

  • The order of the events fired on screen dismiss will now be in the correct order.

v1.12.0

29 Sep 15:14
3d69b4c
Compare
Choose a tag to compare

Changes

  • setCustomFonts now accepts an object which allows you to set the font size as well as the family.
  • When you use a large image in a Story, we'll pause as it loads.
  • The analytics event for question selections will include the strings for each selection, not just the identifiers.
  • The rating block will now not always close the screen. It will decide if it should progress the container or close depending on its location.

Added

  • Support for the new free text option in question blocks.

Fixed

  • Close links are now available in Stories on iOS.