Skip to content

Darkchove/jd_workout_flutter

 
 

Repository files navigation

workout_app

Dev requirement

  • touch .env file in root of the project
  • Install flutter
  • Install android studio & related SDK
  • Install firebase CLI
    • Windows: npm install -g firebase-tools
    • Linux: curl -sL https://firebase.tools | bash
  • firebase login
  • flutterfire cli
    • dart pub global activate flutterfire_cli
    • Linux: export PATH="$PATH":"$HOME/.pub-cache/bin"
    • Windows: Add bin er to environment variable, path is hint in the output of the previous command
  • in root the project: flutterfire configure --project=jd-workout

I put the sensitive file in .gitignore already, so you don't need to worry about it,

but there's on file lib/firebase/firebase_config.dart,

i move the folder to another folder,

so you have to remove it

before you set up relate firebase config into .env.

Finally, you should be able to open google OAuth in login page.

Dev option

  • flutter run
    • can't hot reload
  • compile from android studio / IntelliJ IDEA Ultimate
    • can hot reload
  • add --no-sound-null-safety option
    • for IntelliJ IDEA Ultimate, click three-dot-icon beside run button, then click Edit, then add --no-sound-null-safety in Additional run args field
  • Flutter version: 3.7.12

Flutter install package

flutter pub get

Build

flutter build apk --release

flutter build apk --release --no-sound-null-safety

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 74.8%
  • C++ 12.4%
  • CMake 9.9%
  • HTML 1.0%
  • Swift 1.0%
  • C 0.8%
  • Other 0.1%