- Workout app
- General purpose app
- touch
.envfile 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
- Windows:
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.
flutter run- can't hot reload
- compile from android studio / IntelliJ IDEA Ultimate
- can hot reload
- (deprecated, library version solved)
add--no-sound-null-safetyoptionfor IntelliJ IDEA Ultimate, clickthree-dot-iconbesiderunbutton, then clickEdit, then add--no-sound-null-safetyinAdditional run argsfield
- Flutter version:
3.10.2
flutter pub get
flutter build apk --release
flutter build apk --release --no-sound-null-safety
flutter build appbundle
flutter build appbundle --no-sound-null-safety
- enter
debugmode in mobile - connect mobile to computer
- select device
- run app