modify a subscription plan test switch commented test Increase mockito version add a clean to yaml file edit yaml modify versionings update yaml add build to script try something in build gradle edit travis travis try something with apple client id yaml put testProdDebugUnitTest script back in yaml try diff distribution try xenial put apple ath client id back edit yaml add apple ath client id add apple id in example as well put buildConfig import back change sudo apt get edit sudo apt commands move commands edit travis mongodb org travis Fix unit tests and travis add mongo service travis file only run one test suite on travis only test for testProdDebugUnitTest |
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| .tx | ||
| _gsdata_ | ||
| fastlane | ||
| gradle/wrapper | ||
| Habitica | ||
| projectFilesBackup/.idea | ||
| reports/profile | ||
| shared | ||
| translations | ||
| .gitignore | ||
| .gradletasknamecache | ||
| .travis.yml | ||
| AndroidStyle.xml | ||
| build.gradle | ||
| config-android.json | ||
| detekt.yml | ||
| Gemfile | ||
| Gemfile.lock | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| habitica.properties.example | ||
| habitica.properties.travis | ||
| habitica.resources.example | ||
| install-codestyle.sh | ||
| LICENSE | ||
| PULL_REQUEST_TEMPLATE.md | ||
| README.md | ||
| settings.gradle | ||
| signingrelease.properties.template | ||
| store_strings.xml | ||
Habitica for Android
Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor. This repository is related to the Android Native Application.
It's also on Google Play:
Having the application installed is a good way to be notified of new releases. However, clicking "Watch" on this repository will allow GitHub to email you whenever we publish a release.
What's New
See the project's Releases page for a list of versions with their changelogs.
View Releases
If you Watch this repository, GitHub will send you an email every time we publish an update.
Contributing
For an introduction to the technologies used and how the software is organized, refer to Contributing to Habitica - "Coders (Web & Mobile)" section.
Thank you very much to all contributors.
Steps for contributing to this repository:
- Fork it
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Create new Pull Request
- Don't forget to include your Habitica User ID, so that we can count your contribution towards your contributor tier
Code Style Guidelines
We follow the code style guidelines outlined in Android Code Style Guidelines for Contributors.
You can install our code style scheme to Intellij and/or Android Studio via this shell command:
$ ./install-codestyle.sh
Build Instructions
Config Files
-
Setup Habitica build config files by simply copying or renaming the example habitica files:
habitica.properties.exampletohabitica.propertieshabitica.resources.exampletohabitica.resourcesYou also need
google-services.json. Download it from Firebase in the next step.Note: this is the default production
habitica.propertiesfile for habitica.com. If you want to use a local Habitica server, please modify the values in the properties file accordingly. -
Go to https://console.firebase.google.com
a. Register/Login to Firebase. (You can use a Google account.)
b. Create a new project called Habitica
c. Create two apps in the project:
com.habitrpg.android.habiticaandcom.habitrpg.android.habitica.debugd. Creating each app will generate a
google-services.jsonfile. Download thegoogle-services.jsonfile from the second app and put it in\Habitica\You can skip the last part of the app creation wizards (where you run the app to verify installation).
-
If using Android Studio, click Sync Project with Gradle Files. Update Android Studio if it asks you to update. Run Habitica.