React Native

Welcome to the Flagship React Native SDK documentation!

The following article will guide you through the steps to get Flagship up and running on your React Native app using our client library with preconfigured methods to implement the Decision API.

Wants to have a look at the GitHub repo? Link here.

Feel free to contact us if you have any questions regarding this documentation.

Release notes

Fixed

  • flagsData property typo issue from FlagsData to flagsData

Updated

  • deprecated fields message
  • @flagship.io/react-sdk to version 3.0.5

Fixed

  • Predefined context OS_VERSION_CODE type issue

Added

  • useFlagship().fetchFlags method
  • useFlagship().getFlag method
  • useFlagship().setConsent method
  • useFlagship().authenticate method
  • useFlagship().unauthenticate method
  • Flag class
  • FlagMetadata class
  • Managing visitor cache
  • SDK Status / Status changed callback.
  • Visitor consent.
  • Predefined context.
  • Custom log manager

Deprecated

  • useFlagship().synchronizeModifications method
  • useFlagship().getModification method
  • useFlagship().getModificationInfo method
  • useFlagship().activateModifications method

Changed

  • useFlagship().hit.send and useFlagship().hit.sendMultiple signature

removed

  • Props enableConsoleLogs of FlagshipProvider
  • Props activateNow of FlagshipProvider
  • Props enableSafeMode of FlagshipProvider
  • Props enableErrorLayout of FlagshipProvider
  • Props nodeEnv of FlagshipProvider

Updated

  • @flagship.io/react-sdk to version 2.1.11

Fixed

  • React-17 and above issue


What’s Next
Did this page help you?