e16d31318b6d05eddb0cf0c9e17aeab4aac8e282
FightRateRN
React Native Community CLI rebuild of FightRate. This app is bare React Native only and does not use Expo.
Visual source of truth
The app follows the selected FightRate direction:
../FIGHTRATE_DESIGN_SYSTEM.md- Direction:
01 — Corner Instrument
Do not reuse the deprecated Combat Lab/card-heavy direction.
Current slice
Implemented in this first slice:
- Corner Instrument app shell.
- Continuous capture-first home screen.
- History, Sensor, and Insights screens.
- Centralized design tokens in
src/theme. - Reusable UI components in
src/components. - No Expo dependencies.
- Android
applicationIdaligned tocom.healthtracking.fightrate.
Not implemented yet:
- Real BLE Magene H003 integration.
- SQLite/local persistence.
- Real timestamped workout chart data.
- Navigation library.
Commands
npm install
npm run typecheck
npm run lint
npm test -- --runInBand
Run Metro:
npm run start
Run Android on a device/emulator:
npm run android
Build Android debug APK:
cd android
./gradlew assembleDebug
If Gradle reports No Java compiler found, point JAVA_HOME to Android Studio JBR:
export JAVA_HOME="/c/Users/Evandro/AppData/Local/Programs/Android Studio/jbr"
export PATH="$JAVA_HOME/bin:$PATH"
cd android
./gradlew assembleDebug
If React Native autolinking keeps a stale package after renaming Android package paths, clean generated Gradle caches before rebuilding:
cd ..
rm -rf android/.gradle android/app/build android/build .gradle
cd android
./gradlew assembleDebug
Debug APK output:
android/app/build/outputs/apk/debug/app-debug.apk
Languages
TypeScript
66.9%
Kotlin
20.4%
HTML
10.6%
JavaScript
1.3%
Ruby
0.4%
Other
0.4%