Skip to content

A quick way to build mattermost mobile client for Android devices.

Notifications You must be signed in to change notification settings

ZarenOFF/mattermost-mobile-android-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a fork of mattermost-mobile-android-build, which has been updated for the latest version of Mattermost.

Versions:

Mattermost Mobile version Branch
2.16 Link
1.55 (original) Link

Description:

This project is a Docker image for building Android version of Mattermost Mobile Client. The primary audience - persons who want to use their own Mobile Push Notifications service (you will use Google servers anyway).

Usage:

Prepare working directories:

mkdir conf data
chmod 777 conf data

Get help information:

docker run -ti --rm \
    -v $(pwd)/conf:/conf \
    -v $(pwd)/data:/data \
    ghcr.io/zarenoff/mmab:2.16 help

Generate key and keystore (for APK signing):

keytool -genkey -v -keystore conf/android-apk-signing.keystore \
  -alias <KEY_ALIAS> -keyalg RSA -keysize 2048 -validity 10000 

Place FCM (Firebase Cloud Messaging) configuration (how to get one):

cp google-services.json conf/google-services.json

Initialize configuration:

docker run -ti --rm \
    -v $(pwd)/conf:/conf \
    -v $(pwd)/data:/data \
    ghcr.io/zarenoff/mmab:2.16 init

Edit configuration:

cp conf/build-sample.conf conf/build.conf 
vim conf/build.conf

Build application:

docker run -ti --rm \
    -v $(pwd)/conf:/conf \
    -v $(pwd)/data:/data \
    ghcr.io/zarenoff/mmab:2.16 build

Install application:

adb install data/<BRANCH_TO_BUILD>/mattermost-mobile/<APP_NAME>.apk

Clean produced data:

docker run -ti --rm \
    -v $(pwd)/conf:/conf \
    -v $(pwd)/data:/data \
    ghcr.io/zarenoff/mmab:2.16 clean

About

A quick way to build mattermost mobile client for Android devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 63.0%
  • Dockerfile 37.0%