Find a file
jobhh b8a9737d18 Location permission fixes (#135)
* Fixed bug where ACCESS_BACKGROUND_LOCATION was used below API level 29. Removed ACCESS_COARSE_LOCATION permission since it has no purpose when ACCESS_FINE_LOCATION is used.

* Added a more generic validatePermissions to PermissionManager and renamed haveLocationPermissions to hasLocationPermissions.
2019-12-12 17:34:58 +01:00
.github Enable move 2019-11-16 09:52:14 +01:00
.travis Update version name according to the tag (#88) 2019-12-03 23:28:46 +01:00
app Location permission fixes (#135) 2019-12-12 17:34:58 +01:00
common Feature/location settings (#129) 2019-12-11 14:02:31 -06:00
data Feature/location settings (#129) 2019-12-11 14:02:31 -06:00
domain Feature/location settings (#129) 2019-12-11 14:02:31 -06:00
gradle Update jackson dependency (#69) 2019-11-26 09:34:04 +01:00
.gitignore Alpha application (#4) 2019-11-02 06:38:40 -07:00
.travis.yml [PLAYSTORE] release to playstore (#13) 2019-11-04 15:51:29 -08:00
build.gradle Add Lokalise SDK (#72) 2019-12-03 21:56:53 +01:00
CLA.md Add required documents 2019-04-01 22:52:24 -07:00
CODE_OF_CONDUCT.md Add required documents 2019-04-01 22:52:24 -07:00
gradle.properties Initial commit 2019-04-01 22:52:08 -07:00
gradlew Initial commit 2019-04-01 22:52:08 -07:00
gradlew.bat Initial commit 2019-04-01 22:52:08 -07:00
LICENSE.md Add required documents 2019-04-01 22:52:24 -07:00
README.md Update README.md 2019-12-12 15:47:12 +01:00
settings.gradle [ARCHITECTURE] Let's do some quality (#15) 2019-11-10 13:07:38 -08:00

📱 Home Assistant Companion for Android Build Status

Setup Development Environment

  • Download and install Android Studio

  • Create a Firebase project at Firebase Console

  • Add an Android app to your Firebase project, follow the on screen instruction download the google-services.json to your home-assistant-Android/app folder

  • Use Android Studio open your source code folder and click Run -> Run 'app'

  • Connect your phone or create a new virtual device following on screen instruction

  • 🎉

Testing Dev Releases

We are using Travis to perform continuous integration both by unit testing, deploying dev releases to Firebase App Distribution and final releases to the Play Store when we add a git tag.

Quality

We are using ktlint as our linter. You can run a check locally on your machine with:

./gradlew ktlintCheck

This commands runs on our CI to check if your PR passes all tests. So we strongly recommend running it before committing.

To run a check with an auto-format:

./gradlew ktlintFormat