diff --git a/repositories/d-sports-engage-native.mdx b/repositories/d-sports-engage-native.mdx index e79c1b6..2d386b9 100644 --- a/repositories/d-sports-engage-native.mdx +++ b/repositories/d-sports-engage-native.mdx @@ -1,6 +1,6 @@ --- title: "d-sports-engage-native" -description: "Native iOS and Android app for D-Sports Engage. Expo 54, React Native, Clerk, RevenueCat, Thirdweb." +description: "Native iOS and Android app for D-Sports Engage. Expo 55, React Native, Clerk, RevenueCat, Thirdweb." icon: "smartphone" --- @@ -14,7 +14,7 @@ icon: "smartphone" | Category | Technology | | ---------- | ------------------------- | -| Framework | Expo 54, React Native 0.81, React 19 | +| Framework | Expo 55, React Native 0.83, React 19 | | Auth | Clerk (Expo) | | Payments | RevenueCat (react-native-purchases) | | Web3 | Thirdweb | @@ -35,10 +35,12 @@ icon: "smartphone" ## What changed since last docs sync +- Upgraded to **Expo 55**, **React Native 0.83**, and **Expo Router 55**. - Team-aware experiences were expanded to align with backend team/favorites behavior. - Quest and rewards surfaces were updated to support per-team progression and pass-aware eligibility. - Pack opening and odds disclosure UX were upgraded with safer interactions and clearer status/error handling. - Settings and account flows were expanded, including in-app account deletion and richer support/data controls. +- Agent tooling (Cursor skills, MCP servers, hooks) was added for workspace-wide team consistency. ## Backend integration surfaces @@ -66,8 +68,24 @@ icon: "smartphone" 1. Clone the repository and run `bun install`. 2. Configure environment (Clerk, RevenueCat, Thirdweb, API base URL) per repo README. -3. Run `bunx expo start`. +3. Run `bunx expo start` — press `a` for Android, `i` for iOS, or scan the QR code with Expo Go. 4. For development builds: `bun run build:dev` (EAS) or run with Expo dev client. +5. Run `bun tsc --noEmit` to verify TypeScript types. + +### EAS build profiles + +```bash +bun build:dev # Dev client (both platforms) +bun build:preview # Preview / TestFlight-like (both platforms) +bun build:prod # Production / store-bound (both platforms) +``` + +### OTA updates + +```bash +bun update # Publish OTA update to production branch +bun update:preview # Publish to preview branch +``` The app targets both native and web (responsive) and uses the same backend (d-sports-api) as the PWA for API and checkout flows.