Skip to content

Latest commit

 

History

History
186 lines (97 loc) · 5.32 KB

CHANGELOG.md

File metadata and controls

186 lines (97 loc) · 5.32 KB

Change Log

All notable changes to this project will be documented in this file. react-native-iterate adheres to Semantic Versioning.

Added

  • Added support for multi-language surveys

Added

  • Added support for survey appearance options (Light/Dark/Auto)

Added

  • Added support for markdown in the prompt

Added

  • Added support for date types in user and response properties

Fixed

  • Fixed an issue preventing response properties from being sent in 2.3.4

Fixed

  • Fixed an issue preventing file:/// URLs from being loaded in the survey webview

Added

  • Added support for custom fonts in survey UI

Fixed

  • Fixed an issue preventing external links in the survey copy from opening

Updated

  • Updated dependencies

Added

  • Ability to set the presentationStyle on the survey modal. This is a temporary solution to a bug in react-navigation which will be removed in the future.

Added

  • Dark mode support. You can log into your Iterate dashboard and select a dark-mode color separate from your primary color.

Updated

  • Updated dependencies

Fixed

  • Fixed a bug that caused the user auth token not to be cleared when Iterate.reset() was called until the app was closed

Added

  • Iterate.reset() can now safely be called before Iterate.init()

Fixed

  • Fixed a bug that caused API requests for new users to use the incorrect auth token until Iterate.init was executed again

Fixed

  • Fixed an error that occurred when attempting to remove data in the Iterate.reset() method that had not been set

Added

  • 'dismiss' event now includes a 'progress' property that includes how far the user got in the survey
  • All events now include the survey they are related to (helpful when getting events on multiple surveys)
  • New 'displayed' event which is fired when the survey or prompt are displayed

Added

  • Add Iterate.onEvent callback to get additional interaction events on the survey like 'dismiss' and 'survey-complete'

Breaking Changes

See the README for the updated way to initialize Iterate

  • Changes from the withIterate high-order component to the component
  • Iterate.init(...) is now required to be called before any other methods
  • Changed the API for sending event properties from happening in the Identify method, to the sendEvent method
  • The user now provides their own safe area

Optimizations

  • All initialization is now lazy-loaded to maximize app boot performance
  • Additional error handling

Added

  • Add a 'reset' method that clears all data from local storage and the local redux store. This is useful when logging out a user to ensure their data isn't associated with the next logged in user
  • Exports StorageInterface interface

Added

  • withIterate now requires a storage facility to be passed in

Removed

  • react-native-encrypted-storage is no longer a required peer dependency

Added

  • Shipped version 1.0.0

Fixed

  • Use the correct survey color for the prompt button

Fixed

  • Link to the correct typescript definition file

Fixed

  • Include redux as a dependency instead of relying on a peerDependency

Fixed

  • UI bug fixes for devices without a notch

Added

  • Loading indicator on the survey

Released on 2021-02-21.

Added

  • Initial release of react-native-iterate.