use fastlane to deploy android app

This commit is contained in:
2024-09-06 08:26:44 +02:00
parent 83d83b03a9
commit 0ae20e4995
33 changed files with 414 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
# Frontend
This is the frontend of the project. It is a Flutter application that is designed to run on both Android and iOS devices. The frontend is responsible for displaying the user interface and handling user input. It communicates with the backend to retrieve and send data.
The frontend of this project is a Flutter application designed to run on both Android and iOS devices (and possibly as a PWA). The frontend is responsible for displaying the user interface and handling user input. It communicates with the backend via a REST-api to retrieve and send data.
## Getting Started
@@ -15,3 +15,16 @@ Once you have the Flutter SDK installed, you can locally install the dependencie
```bash
flutter pub get
```
## Deployment (using fastlane)
The application is deployed to the Google Play Store and the Apple App Store using fastlane:
[https://docs.fastlane.tools/](https://docs.fastlane.tools/)
Fastlane is installed as a Ruby gem. Since the bundler-gemfile is scoped to a single directory, a gemfile is included in both the `android` and `ios` directories. Once installed, the usage is
```bash
cd frontend/android # or ios
bundle install
bundle exec fastlane <lane>
```
This is reused in the CI/CD pipeline to automate the deployment process.