Overview
d-sports-engage-native (package name:engage-native) is the native mobile app for D-Sports. It mirrors the core PWA experience on iOS and Android: wallet, shop, leaderboard, locker room, and profile.
Getting started
Tech stack
| Category | Technology |
|---|---|
| Framework | Expo 54, React Native 0.81, React 19 |
| Auth | Clerk (Expo) |
| Payments | RevenueCat (react-native-purchases) |
| Web3 | Thirdweb |
| State | Zustand |
| Storage | MMKV |
| UI | Lucide React Native |
| Navigation | Expo Router |
| Package | Bun |
Project structure
Features
- Wallet — Tokens, holdings, pack opening, crypto checkout (via PWA backend)
- Shop — Collectibles, cart, coin bundles, checkout
- Leaderboard — Rankings and filters
- Locker room — Social feed and engagement
- Profile — User profile and settings
- Theme — Dark/light mode (default dark)
Architecture patterns
- File-based routing via Expo Router with route groups
(tabs),(auth),(onboarding) - Modular screen architecture — screen files contain only JSX; all state/effects/handlers live in dedicated hooks
- Zustand + MMKV for global state with synchronous persistence
- React Context for auth, collectibles, navbar visibility
- API client layer in
lib/api/with MMKV cache fallback - Crypto checkout via Thirdweb SDK calling PWA backend for on-chain payments
- PWA-ready —
display: standalone, responsive desktop layout, web hover states
Checkout and payments
| Method | Provider | Platform |
|---|---|---|
| Fiat | RevenueCat | Apple IAP (native), Google Play (native), Stripe (web) |
| Crypto | Thirdweb | Arbitrum (default), Ethereum, Polygon |
POST /api/checkout/crypto and POST /api/checkout/crypto/verify.
Branding
- Base background (dark):
#0a0e1a - Accent gold:
#F5C842/#FFD700 - Primary blue:
#4169E1 - Default theme is dark mode
Ecosystem overview
See how the native app fits with the PWA, site, and Mic’d Up.
