Skip to content

iavofficial/erzmobil-user-app

Repository files navigation

ERZmobil

This project contains the code for the Erzmobil Passenger App.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What you need to install the app and how to install the app

Run the project

In Visual Studio Code, open the project, go to the Terminal and type flutter run

Configuration

Cognito

The cognito configuration (user pool, region, etc) can be edited in the lib/Amazon file.

Backend URLs, Text Styles, Constants

The base url for the backend communication is defined at lib/Amazon.baseUrl, the custom endpoints for the communication are defined in the lib/Constants class. This class also contains various constants like urls, phone numbers, text styles and custom colors.

Localization

The texts files can be found here: lib/l10n

How to build a release

Android

  1. Make sure you have an existing keystore and the key.properties file set up. If not follow the steps described here
  2. Afterwards you can run flutter build apk or flutter build appbundle.
  3. Grab the artifacts from build\app\outputs\flutter-apk\app-release.apk/ or build\app\outputs\bundle\release\app-release.aab

iOS

  1. You must install the needed signing certificates and provisining profiles.
  2. Afterwards you can run flutter build ipa to produce an Xcode build archive (.xcarchive file) in the project's build/ios/archive/ directory and an App Store app bundle (.ipa file) in build/ios/ipa.

WebApp

  1. Run flutter build web in the Terminal.
  2. Afterwards you can run
  3. Grab the artifacts from build\web\

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.