evandro 86a4949751 wip: snapshot das alterações não commitadas (2026-10-20)
Origem: D:/Documents/Github/HealthTracking
Arquivos omitidos (segredos, bancos de dados, logs, >50 MB): 1
2026-10-20 00:49:37 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00
2026-06-09 20:30:01 -03:00

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 applicationId aligned to com.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
S
Description
No description provided
Readme
4.2 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 66.9%
Kotlin 20.4%
HTML 10.6%
JavaScript 1.3%
Ruby 0.4%
Other 0.4%