Changes to the Mapp Fashion React Native SDK, newest first. For changes to Mapp Fashion as a whole, see the Mapp Fashion changelog.
1.0.0
20 Nov 2026
Moves recommendations to version 2 of the Mapp Fashion API, upgrades tracking to the Snowplow React Native tracker 4 and adds hooks for top and basket recommendations. Existing hooks keep working. Contains breaking changes, so follow the upgrade steps below before you update from 0.1.x.
Breaking Changes
Minimum versions raised: React Native 0.85.0 or later (from 0.60.0) and React 19.2.3 or later (from 16.8.0).
The SDK uses the Snowplow React Native tracker 4.10.2 instead of 2.x.
@snowplow/react-native-trackerand@snowplow/tracker-coreare now dependencies of the SDK. Do not install them in your app.New required peer dependencies:
@react-native-async-storage/async-storage(^2.0.0) andreact-native-get-random-values(^1.11.0 or ^2.0.0).The app version and build are no longer read automatically. Pass them with the new props
appVersionandappBuildonDressipiProvider.OrderEventPayloadandPageViewEventPayloadare now types of the SDK with the same fields and no longer reference Snowplow. The internal tracker type isFashionTracker.Related-item recommendations return a separate
response_idfor each outfit and each group of similar items. When you track interactions with an item, use theresponse_idof its group.Faceted search returns an error for unsupported legacy filters and for more than one numeric range.
Stock status and outfit availability can be missing in the results.
Upgrading from 0.1.x
Remove
@snowplow/react-native-trackerfrom the dependencies of your app.Remove any
patch-packagepatches for Snowplow 2.x, such as the Kotlin nullability patch. Do not apply them to 4.x.Install the new peer dependencies with the command below.
Pass the version and build number of your app to
DressipiProviderviaappVersionandappBuild, for example fromexpo-application.Rebuild the native app: run
expo prebuildorpod install, then create a new build.
npx expo install @react-native-async-storage/async-storage react-native-get-random-valuesnpm install @react-native-async-storage/async-storage@^2.0.0 react-native-get-random-values@^2.0.0New Features
New hooks
useTopItemsanduseBasketItemsfor top and basket recommendations, with exported request, response and state types and detailed product results. They handle consent like the existing hooks. See Top Curated Recommendations.pageView()accepts an optionalpageViewIdand creates one if none is passed. Product views (productDisplayPage) and recommendation interactions (itemClickPdp,itemClickQuickView,tabClick) are linked to the latest page view viaparentPageViewId, or to an ID you pass.With
enableLogging, the SDK logs OAuth, recommendation and collector requests with status, body and duration, distinguishes queued from dispatched events and warns withmissing_network_user_id. Credentials are hidden unless you also setlogTokens.
Changes
Recommendations use version 2 of the items endpoints. Existing hooks keep working.
Faceted search translates existing facets into version 2 filters. Later result pages are linked to the first page via
root_event_id.Recommendation calls are authenticated with
x-dressipi-jwtwhen consent allows.The tracker initializes asynchronously. Events tracked before it is ready are queued and sent automatically.
Changing the identity or configuration, or unmounting the provider, stops the current tracker and clears the Snowplow storage of Mapp Fashion.
Unchanged: collector endpoint and encoding, tracker namespace,
appId, network user ID, all event schemas and payloads, order tracking, lifecycle, install and session contexts, and consent behavior.
Bug Fixes
Token refresh now works after app start and uses the latest refresh token.
The tracking ID issued by the server is kept across token refreshes and app restarts.
Provider rerenders trigger fewer authentication reloads and recommendation requests.
The identify event returns a clearer error if
emailorcustomerIdis missing. Both are required.Security updates for Axios (^1.21.0), Lodash ES (^4.18.1) and the locked dependency tree.
Known Limitations
Session data is not migrated from 0.1.x. After the update, session counts restart and an
application_installevent can be sent. The network user ID is not affected.A new session starts on every app launch, so session counts can differ from 0.1.x.
Events tracked while offline are sent with the next tracked event, not immediately when the connection returns.
Native screen view autotracking and automatic
screen_viewevents are no longer available.lang,tzandresare still sent, andmobile_contextcontainsresolution,isPortraitandlanguage. Carrier, network type, battery, storage and memory are no longer included.langnow contains a locale tag such asen-GBinstead of a language name.The network user ID is sent in
nuidas well astnuid. Background and foreground events follow the app state, so Android apps can send more of them.Keep a single
DressipiProvidermounted for the lifetime of the app.If your app uses Expo SDK 57 together with the Mapp Intelligence React Native SDK, update the Intelligence SDK to version 2.0.1 or later. Version 2.0.0 does not support React Native 0.86.