knuffi workout app
workout app written using flutter and firebase.
getting started
- set up flutter with the editor of your choice.
- create a firebase account
- set up a firebase project for knuffiworkout.
instructions for creating a firebase project in flutter can be found in the codelab.
make sure to follow through steps 5 and 6:- the android package name should match
androidmanifest.xml
(per default de.fmutzel.knuffiworkout) - add sha fingerprints for your projects as described in authenticating your client.
- download
google-services.json
from the firebase console and place it in android/app.
- the android package name should match
- configure your firebase project to allow sign-in with google in the authentication tab.
- create a firebase database and set up rules to allow read/write access for each user’s data:
{
"rules": {
"user": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
}
}
}
- run the project using
flutter run
or open it in your ide.
contributing
pull requests welcome! 🙂
i don’t have an ios device (nor do i have an apple developer account or a mac with xcode),
so the ios code is just the default from the flutter framework.
regenerating built_value files
the built_value .g.dart
files can be regenerated from the corresponding .dart
files using
flutter packages pub run build_runner build --delete-conflicting-outputs
building a release build
for signing release builds, you need a keystore and some additional information in android/key.properties
.
instructions can be found on the flutter homepage under “signing the app”.
feature wishlist
- presets for other popular workouts (5×5, starting strength, …)
Comments are closed.