React Native SDK

Prev Next

Introduction

The Mapp Fashion React Native SDK brings Mapp Fashion recommendations and tracking to Android and iOS apps built with React Native, including Expo apps. It retrieves personalized recommendations from the Mapp Fashion API and tracks how users interact with products and recommendations, so Mapp Fashion can personalize the results.

The SDK returns recommendation data and does not include UI components. You display the results in your own app components. On websites, use the Mapp Fashion extension for the Smart Pixel instead. The SDK is independent of the Mapp Intelligence React Native SDK, and both can run in the same app.

Key Capabilities

  • Recommendations for a product: outfits, partner outfits and similar items

  • Top and basket recommendations without a starting product or based on the basket

  • Faceted search with filters and pagination

  • Tracking of page views, product views, product lists, basket changes, orders, user identification and interactions with recommendations

  • Consent handling: authentication and tracking only start once the user has consented

  • Authentication with the Mapp Fashion API, including token refresh

Requirements

The values apply to SDK version 1.0.0.

Dependency

Minimum version

React Native

0.85.0

React

19.2.3

@react-native-async-storage/async-storage

2.0.0

react-native-get-random-values

1.11.0

You also need the host, the namespace ID and the client ID of your Mapp Fashion account. Mapp provides them during onboarding.

Related Content