- Install Android SDK
- Clone the repo
- Plug in your phone. Check it's detected with
adb devices
- Execute:
make
(will also push app unto phone)
Refer to https://github.com/medic/medic#testing-locally-with-devices.
To build and deploy APKs for all configured brands:
make branded
To add a new brand:
- add
productFlavors { <new_brand> { ... } }
inbuild.gradle
- add icons, strings etc. in
src/<new_brand>
- to enable automated deployments, add the
new_brand
to.travis.yml
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 2013-2018 Medic Mobile, Inc. [email protected]
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.