Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

knuffi workout app

workout app written using flutter and firebase.

getting started

  1. set up flutter with the editor of your choice.
  2. create a firebase account
  3. 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:

    1. the android package name should match androidmanifest.xml (per default de.fmutzel.knuffiworkout)
    2. add sha fingerprints for your projects as described in authenticating your client.
    3. download google-services.json from the firebase console and place it in android/app.
  4. configure your firebase project to allow sign-in with google in the authentication tab.
  5. 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"
      }
    }
  }
}
  1. 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, …)

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.