Skip to content
A native Android container for Medic Mobile's Community Health Worker mobile application
Java Ruby Makefile Other
Branch: master
Clone or download
derickl Add MoH Mali flavor (#90)
* Add MoH Mali flavor
Latest commit 10caf08 Aug 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Fix lint warnings Oct 2, 2018
fastlane Automatically publish builds to play store's alpha channel (#82) Jun 19, 2019
gradle/wrapper Update android tools to 3.2.0 Sep 27, 2018
libs
scripts Update changelog script to sort versions properly May 11, 2018
src Add MoH Mali flavor (#90) Aug 19, 2019
.gitignore Automatically publish builds to play store's alpha channel (#82) Jun 19, 2019
.travis.yml Add MoH Mali flavor (#90) Aug 19, 2019
LICENSE Creates AGPL license file Sep 18, 2018
Makefile Automatically publish builds to play store's alpha channel (#82) Jun 19, 2019
README.md Automatically publish builds to play store's alpha channel (#82) Jun 19, 2019
build.gradle Add MoH Mali flavor (#90) Aug 19, 2019
gradlew Add static analysis, fix violations, upgrade gradle & android libs Apr 5, 2017
gradlew.bat Add static analysis, fix violations, upgrade gradle & android libs Apr 5, 2017
secrets.tar.gz.enc Automatically publish builds to play store's alpha channel (#82) Jun 19, 2019
settings.gradle Support both 32bit and 64bit and add New flavors Jun 7, 2019

README.md

Medic Mobile Android App

Installation

  1. Install Android SDK
  2. Clone the repo
  3. Plug in your phone. Check it's detected with adb devices
  4. Execute: make (will also push app unto phone)

Connecting to the server locally

Refer to https://github.com/medic/medic#testing-locally-with-devices.

Branding

Building branded apps

To build and deploy APKs for all configured brands:

make branded

Adding new brands

To add a new brand:

  1. add productFlavors { <new_brand> { ... } } in build.gradle
  2. add icons, strings etc. in src/<new_brand>
  3. to enable automated deployments, add the new_brand to .travis.yml

Publishing

Create a git tag starting with v, e.g. v1.2.3 and push the tag to GitHub.

Creating this tag will trigger a Travis CI to build, sign, and properly version the build. The release-ready APKs are available for side-loading from GitHub Releases and are uploaded to the Google Play Console in the "alpha" channel. To release to the public, click "Release to Production" or "Release to Beta" via the Google Play Console for each flavor.

Copyright

Copyright 2013-2018 Medic Mobile, Inc. hello@medicmobile.org

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

You can’t perform that action at this time.