Changelog

Prev Next

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-tracker and @snowplow/tracker-core are 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) and react-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 appVersion and appBuild on DressipiProvider.

  • OrderEventPayload and PageViewEventPayload are now types of the SDK with the same fields and no longer reference Snowplow. The internal tracker type is FashionTracker.

  • Related-item recommendations return a separate response_id for each outfit and each group of similar items. When you track interactions with an item, use the response_id of 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

  1. Remove @snowplow/react-native-tracker from the dependencies of your app.

  2. Remove any patch-package patches for Snowplow 2.x, such as the Kotlin nullability patch. Do not apply them to 4.x.

  3. Install the new peer dependencies with the command below.

  4. Pass the version and build number of your app to DressipiProvider via appVersion and appBuild, for example from expo-application.

  5. Rebuild the native app: run expo prebuild or pod install, then create a new build.

npx expo install @react-native-async-storage/async-storage react-native-get-random-values
npm install @react-native-async-storage/async-storage@^2.0.0 react-native-get-random-values@^2.0.0

New Features

  • New hooks useTopItems and useBasketItems for 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 optional pageViewId and creates one if none is passed. Product views (productDisplayPage) and recommendation interactions (itemClickPdp, itemClickQuickView, tabClick) are linked to the latest page view via parentPageViewId, 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 with missing_network_user_id. Credentials are hidden unless you also set logTokens.

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-jwt when 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 email or customerId is 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_install event 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_view events are no longer available.

  • lang, tz and res are still sent, and mobile_context contains resolution, isPortrait and language. Carrier, network type, battery, storage and memory are no longer included. lang now contains a locale tag such as en-GB instead of a language name.

  • The network user ID is sent in nuid as well as tnuid. Background and foreground events follow the app state, so Android apps can send more of them.

  • Keep a single DressipiProvider mounted 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.