@whatmore-repo/whatmore-storefront — drop-in shoppable video for React Native. Renders
native views (not a WebView) and ships three ready-to-embed surfaces (Reel, Feed,
Carousel) that share the same configuration and event handlers. It mirrors the
iOS SDK surface-for-surface.
Install
react-native-video, react-native-svg.
Configure once
Wrap your app inWhatmoreStorefrontProvider with a configuration and your event handlers; place the
surfaces anywhere below it.
Surfaces
Reel — full-screen swipe (e.g. a “TV” tab)
Feed — creator / celebrity page
Carousel — autoplaying rail
handlers prop to
override the provider’s for that instance.
Handle events — WhatmoreStorefrontHandlers
Wire these once on the provider. Every handler is optional — the SDK never touches a
cart, so you decide what each event does.
For attribution, record
product.id / event.eventID from these handlers and include
them on your Order Tracking call at checkout.
Models
Product data — productProvider
Products render in the bottom carousels via configuration.productProvider. The SDK ships a
mock provider (the default) so all surfaces are demoable before product tagging is wired up.
Supply your own to render live catalog data — no UI changes required.
