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 |
| 2.0.0 |
| 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
Changelog: version history and upgrade notes
Product and Customer Identifiers: which identifiers Mapp Fashion uses for products and customers
Top Curated Recommendations: how top and basket recommendations work
Mapp Fashion API: the endpoints behind the recommendation hooks
mapp-fashion-react-native-sdk on npm and source code on GitHub