React Native SDK migration guide
6.1.0 moves the validated React Native target to Expo SDK 57, aligns the SDK’s names with the iOS and Android SDKs, and reads the new row keys in collections and tables. Update your app to the new configuration and prop names. The row keys need a coordinated release, the custom tab bar style API and the Android Material 3 date picker opt-in are removed, and the UI toolkit now runs an install script that your package manager must allow. For the SDK version that matches the platform, see the 6.1.0 deployment guidelines.Prerequisites and version range
The peer dependency floors are unchanged:react-native ≥ 0.83.0 and react ≥ 19.2.0. The validated target moves up one Expo SDK.
For an Expo project, align the project to Expo SDK 57, then reinstall the FlowX packages with
npx expo install:
Allow the UI toolkit install script
@flowx/react-native-ui-toolkit patches the installed react-native-pdf-renderer from its own postinstall script, so that document previews report page events on iOS. Package managers that block dependency install scripts skip it unless you allow it. If your app doesn’t already allow it, approve it once:
In an Expo project, the UI toolkit’s config plugin also applies the patch at
npx expo prebuild. In a bare React Native CLI project, run the toolkit’s flx-patch-pdf-renderer command from your own postinstall script. Rebuild the iOS app after installing. See iOS: PDF renderer patch in the React Native SDK reference.
FlowX SDK changes
Renamed configuration options and props
Replace each 5.9.x name with its 6.1.0 name. The 5.9.x names still work in 6.1.0, but they are deprecated.baseUrl, enginePath and assetsBaseUrl apply to FlowX.configure and to the process, UI Flow and chat renderers. onDismissRequested applies to startProcess, continueProcess, startUiFlow and the process and UI Flow renderers.
In 5.9.x the content helpers came only from @flowx/core-sdk/rn. @flowx/react-native-sdk now exports them too, under their new names only (getEnumerationItems, getMediaItemUrl, getSubstitutionTagContent).
New custom component action: runUploadAction
Custom components get input.runUploadAction(name, { uri, name, type }, params?) to upload a file through an upload action.
FlxCustomComponentData requires runAction and runUploadAction. If your tests build a mock of it by hand, add both.
Android Material 3 date picker removed
The opt-in Material 3 date picker forFlxDatePicker on Android is removed, along with the @react-native-community/datetimepicker peer dependency.
- Remove
material3from anyconfigureFlxUiToolkitcall. - The
@react-native-community/datetimepickerpackage is no longer needed by FlowX. Uninstall it if nothing else in your app uses it. - Keep the
@flowx/react-native-ui-toolkitExpo config plugin registered. It no longer changesAppThemeor setsextra.flxUiToolkit.material3. It now addsfontScaleto the main activity’sandroid:configChangesand declares the microphone permissions used by chat voice input. Runnpx expo prebuildagain after the upgrade.
Theme changes
Custom tab bar styles removed
The tab bar is now styled from the theme only.@flowx/react-native-theme no longer exports applyRnTabBarCustomStyles or the RnTabBarOverrideStyles type, and the tab bar style builders no longer take overrides:
If your app passes overrides to these functions, remove them and set the tab bar’s look in the theme instead.
Behavior changes
- A session with no usable access token now starts as anonymous instead of failing. In 5.9.x, a token that was
null,undefined(never set) or an empty string ('') made the start throwCall FlowX.setAccessToken(...) before starting a process.In 6.1.0 all three values start an anonymous session, and a backend that requires a token answers401. If your token fetch can returnnull,undefinedor'', check the value before you start a process; otherwise the failure only shows up later as a401. - Error and warning messages name
baseUrlandassetsBaseUrlinstead ofbaseURLandstaticAssetsPath. Update any host code that matches on their text.
Related resources
React Native SDK reference
React Native renderer SDK documentation
Migration overview
Full 5.9.x to 6.1.0 upgrade guide

