This project contains the code for the Erzmobil Passenger App.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What you need to install the app and how to install the app
- Visual Studio Code (recommended)
- Android Studio (optional)
- XCode (required for iOS)
- Flutter (Version 2.2.3, Dart 2.13.4 )
In Visual Studio Code, open the project, go to the Terminal and type flutter run
The cognito configuration (user pool, region, etc) can be edited in the lib/Amazon
file.
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.
The texts files can be found here: lib/l10n
- Make sure you have an existing keystore and the key.properties file set up. If not follow the steps described here
- Afterwards you can run
flutter build apk
orflutter build appbundle
. - Grab the artifacts from
build\app\outputs\flutter-apk\app-release.apk/
orbuild\app\outputs\bundle\release\app-release.aab
- You must install the needed signing certificates and provisining profiles.
- Afterwards you can run
flutter build ipa
to produce an Xcode build archive (.xcarchive file) in the project'sbuild/ios/archive/
directory and an App Store app bundle (.ipa file) inbuild/ios/ipa
.
- Run
flutter build web
in the Terminal. - Afterwards you can run
- 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.