Skip to content

Productivity app: A react-native typescript app with firebase and some custom Kotlin code to track phone usage.

Notifications You must be signed in to change notification settings

hiteshjoshi1/tracker

Repository files navigation

Tracker app

A React Native application with Firebase backend and Google Authentication.

Tech stack

  1. react-native
  2. Firebase
  3. Google Auth

Getting Started

First copy the example environment file and replace the placeholder values with your own credentials:

cp .env.example .env
# then edit .env and add your Firebase/Google values

Build locally and test

npx expo run:android

To clean and rebuild

npx expo prebuild --clean && npx expo run:android

Build for device (apk)

  • expo always has googleservices.json issue for local as well as remote
cd android
# Create debug APK
./gradlew assembleRelease

APK file will be in android/app/build/outputs/apk/release/app-release.apk

Pair mac with Android and then use Bluetooth File Exchange app to transfer the apk to phone

Additional Documentation

Some generated docs which are quite good https://deepwiki.com/hiteshjoshi1/tracker/1-overview

Development Tips

  • Install dependencies with npm install.
  • Run tests with npm test.
  • Lint with npm run lint.

Running Tests

Execute the unit test suite with:

npm test

For watch mode during development use:

npm run test:watch

About

Productivity app: A react-native typescript app with firebase and some custom Kotlin code to track phone usage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •