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: 8 months 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-06T14:30:58.000Z (about 1 year ago)
- Last Synced: 2025-04-12T10:40:38.861Z (about 1 year ago)
- Topics: android-sdk, android-tools, docker, fastlane, gradle, nodejs, react-native
- Language: Shell
- Homepage:
- Size: 37.1 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### WARNING: Compatible 2.26.x
## 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
```