• Stars
    star
    1,434
  • Rank 32,829 (Top 0.7 %)
  • Language
    Kotlin
  • License
    GNU General Publi...
  • Created over 9 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Native Android app for Habitica

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:

Get it 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.

How mobile releases work

All major mobile releases are organized by Milestones labeled with the release number. The 'Help Wanted' is added to any issue we feel would be okay for a contributor to work on, so look for that tag first! We do our best to answer any questions contributors may have regarding issues marked with that tag. If an issue does not have the 'Help Wanted' tag, that means staff will handle it when we have the availability.

The mobile team consists of one developer and one designer for both Android and iOS. Because of this, we switch back and forth for releases. While we work on one platform, the other will be put on hold. This may result in a wait time for PRs to be reviewed or questions to be answered. Any PRs submitted while we're working on a different platform will be assigned to the next Milestone and we will review it when we come back!

Given that our team is stretched pretty thin, it can be difficult for us to take an active role in helping to troubleshoot how to fix issues, but we always do our best to help as much as possible :) With this in mind, when selecting issues to work on it may be best to pick up issues you already have a good idea how to handle and test. Thank you for putting in your time to help make Habitica the best it can be!

Steps for contributing to this repository:

  1. Fork it
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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

  1. Setup Habitica build config files by simply copying or renaming the example habitica files:

    habitica.properties.example to habitica.properties

    habitica.resources.example to habitica.resources

    You also need google-services.json. Download it from Firebase in the next step.

    Note: this is the default production habitica.properties file for habitica.com. If you want to use a local Habitica server, please modify the values in the properties file accordingly.

  2. 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.habitica and com.habitrpg.android.habitica.debug

    d. Creating each app will generate a google-services.json file. Download the google-services.json file from the second app and put it in \Habitica\ and \wearos\

    You can skip the last part of the app creation wizards (where you run the app to verify installation).

  3. If using Android Studio, click Sync Project with Gradle Files. Update Android Studio if it asks you to update. Run Habitica.

More Repositories

1

habitica

A habit tracker app which treats your goals like a Role Playing Game.
JavaScript
11,859
star
2

habitica-ios

Native iOS app for Habitica
Swift
690
star
3

habitrpg-mobile

HabitRPG mobile application under development. Angular + PhoneGap
JavaScript
286
star
4

habitica-chrome

Chrome extension for HabitRPG. Uses 3rd party productivity website events to trigger point gain/loss.
JavaScript
109
star
5

habitrpg-shared

Shared resources useful for multiple HabitRPG repositories. Assets (sprites, imgs, etc), CSS, algorithms, and more.
CoffeeScript
95
star
6

Habitica-Webhooks

A server to receive webhooks for Habitica related projects (github, slack, etc)
JavaScript
20
star
7

habitica-chat-extension

A habitica.com Chat Client for Chrome
JavaScript
18
star
8

habitica-markdown

A markdown-it module pre-configured for use in Habitica
JavaScript
13
star
9

habitrpg-community

Community website for HabitRPG (Drupal)
PHP
12
star
10

habitrpg-email-server

The server from which all HabitRPG's emails are sent
JavaScript
11
star
11

habitica-images

7
star
12

habitica-zapier

JavaScript
7
star
13

habitica-markdown-emoji

Emoji set for Habitica.
JavaScript
5
star
14

mongoose-dictionary

JavaScript
3
star
15

habitica-email-template

Responsive HTML email template for use in Mandrill. Based off of Lee Munroe's original concept. https://github.com/leemunroe/responsive-html-email-template
HTML
3
star
16

eslint-config

JavaScript
2
star
17

tools-for-habitica

HTML
2
star
18

flag-o-rama

An easy way to flag chat messages.
JavaScript
2
star
19

AccountDeleteConsumer

JavaScript
1
star
20

habitrpg-redirect

Simple Node.js Express app to redirect requests to habitica.com
JavaScript
1
star
21

WebhookConsumer

A worker to process webhooks for Habitica
JavaScript
1
star