Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/livelace/mattermost-mobile-android-build
A quick way to build mattermost mobile client for Android devices.
https://github.com/livelace/mattermost-mobile-android-build
android-sdk android-tools docker fastlane gradle nodejs react-native
Last synced: 5 days ago
JSON representation
A quick way to build mattermost mobile client for Android devices.
- Host: GitHub
- URL: https://github.com/livelace/mattermost-mobile-android-build
- Owner: livelace
- Created: 2020-04-19T17:53:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T22:52:47.000Z (7 months ago)
- Last Synced: 2024-05-28T07:47:01.596Z (7 months ago)
- Topics: android-sdk, android-tools, docker, fastlane, gradle, nodejs, react-native
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### WARNING: Compatible 2.17+
## Description:
This project is a Docker image for building [Android version](https://play.google.com/store/apps/details?id=com.mattermost.rn) of [Mattermost Mobile Client](https://github.com/mattermost/mattermost-mobile). The primary audience - persons who want to use their own [Mobile Push Notifications](https://developers.mattermost.com/contribute/mobile/push-notifications/) service (you will use Google servers anyway).
## Usage:
**Prepare working directories:**
```bash
mkdir conf data
chmod 777 conf data
```**Get help information:**
```bash
docker run -ti --rm \
-v $(pwd)/conf:/conf \
-v $(pwd)/data:/data \
livelace/mattermost-mobile-android-build help
```**Generate key and keystore (for APK signing):**
```bash
keytool -genkey -v -keystore conf/android-apk-signing.keystore \
-alias -keyalg RSA -keysize 2048 -validity 10000
```**Place FCM ([Firebase Cloud Messaging](https://en.wikipedia.org/wiki/Firebase_Cloud_Messaging)) configuration ([how to get one](https://developers.mattermost.com/contribute/mobile/push-notifications/android/)):**
```bash
cp google-services.json conf/google-services.json
```**Initialize configuration:**
```bash
docker run -ti --rm \
-v $(pwd)/conf:/conf \
-v $(pwd)/data:/data \
livelace/mattermost-mobile-android-build init
```**Edit configuration:**
```bash
cp conf/build-sample.conf conf/build.conf
vim conf/build.conf
```**Build application:**
```bash
docker run -ti --rm \
-v $(pwd)/conf:/conf \
-v $(pwd)/data:/data \
livelace/mattermost-mobile-android-build build
```**Install application:**
```bash
adb install data//mattermost-mobile/.apk
```**Clean produced data:**
```bash
docker run -ti --rm \
-v $(pwd)/conf:/conf \
-v $(pwd)/data:/data \
livelace/mattermost-mobile-android-build clean
```