1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00
comunicmobile/README.md

38 lines
890 B
Markdown
Raw Normal View History

2019-04-21 08:34:27 +00:00
# comunic
2019-06-24 16:28:11 +00:00
A Comunic client written with flutter
2019-04-21 08:34:27 +00:00
2019-06-24 16:28:11 +00:00
## Getting Started on Android
2019-04-21 08:34:27 +00:00
2019-06-24 16:28:11 +00:00
## Flavors
2019-04-21 08:34:27 +00:00
2019-06-24 16:28:11 +00:00
### Application appearance & Title
* `stable` : For main releases
* `beta` : For intermediate releases
2019-04-21 08:34:27 +00:00
2019-06-24 16:28:11 +00:00
## Build types
### Beta
No special configuration is required. Use the `lib/main_dev.dart` file as entrypoint to the application.
### Releases
To make release builds, the application needs to be signed. Create a file named `key.properties` in the android directory with the following content:
```
storePassword=store password
keyPassword=key password
keyAlias=key alias
storeFile=path to keystore file
```
Use the `lib/main_online.dart` as entry point to the application.
### Building
Now choose a flavor and build the application using :
```sh
# Generic command
flutter build apk --flavor BUILD_FLAVOR -t ENTRY_POINT
# Example
flutter build apk --flavor beta -t lib/main_online.dart
```