Darts Scores Native is an Android-first Expo / React Native scorer app derived from the darts-scorer-web project.
The mobile app reuses the same match domain model and cloud sync format as the web version, but adapts the flow for touch-first setup, scoring, leg transitions, and on-device persistence.
- Expo SDK 54 app in TypeScript
- mobile-first match setup, scoring, leg-finished, and match-finished screens
- reused game engine and shared match domain model from the web app
- local persistence with AsyncStorage so in-progress matches survive app restarts
- Firebase Auth and Firestore sync using the same
gamescollection shape as the web app - Russian and English UI toggle
- Expo EAS configuration for preview APK and production builds
- Expo
- React Native
- TypeScript
- AsyncStorage
- Firebase Auth
- Firestore
npm install— install dependenciesnpm run start— start the Expo dev servernpm run android— build and run the Android app locallynpm run ios— build and run the iOS app locallynpm run web— launch the web previewnpm run typecheck— runtsc --noEmitnpm run version:build— bump build metadata before native runs
cd /Users/valeryazartsov/darts-scorer-nativenpm installnpm run android
Create .env or .env.local inside darts-scorer-native with:
EXPO_PUBLIC_FIREBASE_API_KEY=...
EXPO_PUBLIC_FIREBASE_AUTH_DOMAIN=...
EXPO_PUBLIC_FIREBASE_PROJECT_ID=...
EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET=...
EXPO_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=...
EXPO_PUBLIC_FIREBASE_APP_ID=...- match setup
- turn submission with per-dart values
- simple and double-out rules
- multi-leg support
- undo and reset
- email/password sign-in and sign-up
- autosave of finished matches to Firestore
- shared Elo and statistics view backed by the same user history format as the web app
- the full web dartboard UI
- backup and restore flows
- the full advanced statistics modal from the web version
- repository scope: standalone mobile app extracted into its own GitHub repository
- current package name inside
package.json:darts-scorer-native - Firebase keys are read from Expo public env variables and should stay out of source control
Project-level updates are tracked in CHANGELOG.md.