https://github.com/aboveyunhai/fitetc
A React-Native Pedometer/Fitness App for android platform
https://github.com/aboveyunhai/fitetc
fitness-app google-fit-api react react-native
Last synced: 5 months ago
JSON representation
A React-Native Pedometer/Fitness App for android platform
- Host: GitHub
- URL: https://github.com/aboveyunhai/fitetc
- Owner: aboveyunhai
- Created: 2020-07-07T01:57:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-17T02:03:31.000Z (about 4 years ago)
- Last Synced: 2025-06-10T03:51:01.622Z (about 1 year ago)
- Topics: fitness-app, google-fit-api, react, react-native
- Language: TypeScript
- Homepage:
- Size: 5.96 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FitEtc
A standalone React Native Pedometer App based on Google Android API, currently support Android platform only.
run `npm install https://github.com/aboveyunhai/FitEtc.git`,
then execute `react-native run android`
**require your own api key to enable google-fit api to work**
Helpful link: https://github.com/StasDoskalenko/react-native-google-fit/blob/master/docs/INSTALLATION.md
### Disclaimer
If you happened to find this because of the `react-native-google-fit`,
maybe this file (https://github.com/aboveyunhai/FitEtc/blob/f38ce6cfe518a7d32117c7aed2dcbff6e5b5af81/src/redux/actions/ActionCreator.tsx#L20) is the only useful place you want to take at look.
Other than that, while the app is still functionaily OK (at least I'm still using it by my own, and enough for dev testing), the entire codebase is a mess and requires a `full rewrite`, you will see tons of `Typescript/React abuses`. But I found many of two-years-old codes are `stupid, entertaining but creative`, so I just left what it is now until I want to rewrite it someday.
### Motivation:
There are already tons of well-built fitness apps around, but I'm the particular oddity who has no interest in those fitness communities, notifications, etc.
Those also created many unnecessary bundles and huge battery comsumption
So I just want to create a **pure** pedometer app for myself and my family. Silently run in the background with minimal battery usage.
Do some **NON-SENSE** react-native UI/UX experiments for data presentation, battery consumption check and possible RN optimization
#
I currently use it to debug and help improve https://github.com/StasDoskalenko/react-native-google-fit. The core functionality of this app.
### Todos:
* Possibly fully expand the app to for all fitness data,
* Code structure optimization
#
All credit to [@aboveyunhai](https://github.com/aboveyunhai).
If you found anything interesting and want to take part of it for personal or commercial usage, just let me know.