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

40 lines
944 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:
```
2021-04-28 17:41:07 +00:00
storeFile=path to keystore file
2019-06-24 16:28:11 +00:00
storePassword=store password
keyAlias=key alias
2021-04-28 17:41:07 +00:00
keyPassword=key password
forezKeyAlias=key alias
forezKeyPassword=key password
2019-06-24 16:28:11 +00:00
```
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
```