Mobile App
There is a mobile app available for Android and iOS. It’s a flutter application and the source code can be found at
https://github.com/wger-project/flutter
Install flutter (the app currently uses the flutter version pinned in action.yml)
https://docs.flutter.dev/get-started/install
Start a wger server. You can either run your own instance (see e.g. Backend dev with Docker) or use the test server:
URL:
https://dev.wger.deusername:
userpassword:
flutteruserAPI key:
31e2ea0322c07b9df583a9b6d1e794f7139e78d4
The db is reset every day, so feel free to edit or delete anything.
Start the application with
flutter runor use your IDE
Please note that depending on how you run your emulator you will need to change
the IP address of the server (on iOS http://localhost:8000 while on android
you need http://10.0.2.2:8000).
Running the tests
The unit and widget tests run with:
flutter test