Daniel Shokouhi
2999d220a8
Add a splash screen to Wear to improve cold start experience ( #1889 )
2021-11-09 09:47:25 -05:00
Daniel Shokouhi
2c5e762504
Add settings and favorites for wear so users can quickly execute actions they do regularly faster ( #1875 )
...
* Add settings and favorites for wear
* Use proper variable for navigation
* Refactoring to remove clutter from HomeActivity
* Always start set favorites at the top
* Review comments
* Correct merge mistake
* Add rotary input on set favorites screen
2021-11-09 09:41:23 -05:00
Daniel Shokouhi
588e74113d
Bring back rotary input support for home screen ( #1887 )
2021-11-07 21:32:06 -05:00
Daniel Shokouhi
4e3d8ce852
Add a short delay and update entities again on wear homescreen ( #1870 )
2021-11-03 23:09:45 -04:00
Tiger Oakes
5f87d10846
Replace kotlinx.android.synthetic with viewbinding ( #1840 )
...
* Replace kotlinx.android.synthetic with viewbinding
* Remove kotlin-android-extensions
* Replace findViewById calls with viewbinding
2021-11-03 23:01:46 -04:00
Daniel Shokouhi
8aee9d11b1
Move entities call back to presenter, use ToggleChip for toggle domains ( #1868 )
...
* Move entities call back to presenter, use ToggleChip for toggle domains
* Bump compose libraries and minor cleanup
* Review comments
2021-11-03 21:42:30 -04:00
dependabot[bot]
6c1f1f3e0c
Bump dagger-compiler from 2.39.1 to 2.40 ( #1861 )
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.39.1 to 2.40.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.39.1...dagger-2.40 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-02 21:08:18 -04:00
dependabot[bot]
b36cc0a5a3
Bump dagger from 2.39.1 to 2.40 ( #1860 )
...
Bumps [dagger](https://github.com/google/dagger ) from 2.39.1 to 2.40.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.39.1...dagger-2.40 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-02 20:58:22 -04:00
Daniel Shokouhi
b6e0837cc4
Convert wear home activity to compose ( #1844 )
...
* Convert wear home activity to compose
* Bump compose libraries and make UI consistent
* UI fixes based on review comments
* Use chip overflow and max lines instead of take
* Bump activity compose dependency in wear
* Clean up old files
* Remove more unused files
* Pass entities into composable and use rememberSaveable for the lists
* Move getEntities to ViewModel for recomposition
* Restore onViewReady changes
* Add a loading screen while waiting on viewmodel
2021-11-02 20:52:28 -04:00
Daniel Shokouhi
e3cc165c79
Only load MDI icons on wear, otherwise load default ( #1816 )
...
* Only load MDI icons on wear, otherwise load default
* Combine conditions
* Update wear/src/main/java/io/homeassistant/companion/android/viewHolders/EntityButtonViewHolder.kt
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2021-10-21 00:39:43 -04:00
Daniel Shokouhi
f7883bebc5
Add Wear OS Settings section ( #1796 )
...
* Add Wear OS Settings section
* Fix minimal build
* Fix PR build and hide category by default
* Mention Wear OS app is only offered as a beta in case user is unable to install
* Review comments
2021-10-20 22:34:29 -04:00
leroyboerefijn
652b8eb576
Support custom icons ( #1799 )
2021-10-20 17:52:58 -04:00
Daniel Shokouhi
b8994b744d
Some fixes for empty entity lists in wear ( #1789 )
...
* Some fixes for empty entity lists in wear
* Review comments
2021-10-18 15:08:46 -04:00
Daniel Shokouhi
9f3f552155
Add auto back up rules for wear ( #1790 )
2021-10-15 20:47:56 -04:00
Daniel Shokouhi
fc8f10afbc
Add network security config for wear app ( #1787 )
2021-10-15 07:14:49 -05:00
apo-mak
7a026c4f53
Wear - add Lights ( #1783 )
...
* add lights entity
* implement filter from 9891c92d01
code clean up.
* Add On/Off Logic (if state)
* fix code ktlint base on https://github.com/home-assistant/android/pull/1783/checks?check_run_id=3894949865
* fix code ktlint base on https://github.com/home-assistant/android/pull/1783/checks?check_run_id=3894949865
* remove "if state" and add "callService toggle"
* remove "if state" and add "callService toggle"
2021-10-14 21:29:31 -04:00
Bassett, Justin
cbf217c51a
Try something else for publishing.
2021-10-13 23:46:49 -04:00
Justin Bassett
23329d90cb
Make sure to only commit once: https://github.com/Triple-T/gradle-play-publisher/issues/217 ( #1781 )
2021-10-13 23:17:32 -04:00
Justin Bassett
8fbc55e97b
Enable publishing the Wear OS to Beta. ( #1772 )
...
* Enable publishing the Wear OS to Beta.
* Make versionCode different for wear app.
2021-10-13 22:42:23 -04:00
Justin Bassett
51df8dd9a8
Dependency upgrades ( #1775 )
...
* Dependency upgrades
* Upgrade compile sdk.
2021-10-13 20:58:14 -04:00
apo-mak
f51d7ef92c
add focus,for rotary input ( #1780 )
...
add focus,for rotary input.
#1779
2021-10-13 20:55:55 -04:00
Daniel Shokouhi
4893a293bb
Sort entity list and add debug resources for wear app ( #1778 )
2021-10-13 20:55:37 -04:00
Justin Bassett
1eb826cbcc
Cleanup deprecated build files. ( #1774 )
...
* Cleanup deprecated build files.
* ktlint
2021-10-12 23:35:05 -04:00
leroyboerefijn
1573c2e796
Wear os scenes and scripts support ( #1763 )
...
* Implement scenes in home activity as a clickable list
* Add ripple effect to list items
* Add scripts as well
2021-10-12 22:30:40 -04:00
dependabot[bot]
0841dd5d94
Bump dagger-compiler from 2.39 to 2.39.1 ( #1752 )
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.39 to 2.39.1.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.39...dagger-2.39.1 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 18:32:43 -04:00
dependabot[bot]
4cb5f5d679
Bump dagger from 2.39 to 2.39.1 ( #1751 )
...
Bumps [dagger](https://github.com/google/dagger ) from 2.39 to 2.39.1.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.39...dagger-2.39.1 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 18:25:13 -04:00
dependabot[bot]
7fd58a9b70
Bump dagger from 2.38.1 to 2.39 ( #1736 )
...
Bumps [dagger](https://github.com/google/dagger ) from 2.38.1 to 2.39.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.38.1...dagger-2.39 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-30 21:46:02 -04:00
dependabot[bot]
59ecaba7c2
Bump dagger-compiler from 2.38.1 to 2.39 ( #1735 )
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.38.1 to 2.39.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.38.1...dagger-2.39 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-30 21:38:34 -04:00
leroyboerefijn
5f904b980e
Wear os authentication ( #1691 )
...
* Initial proof-of-concept: sharing Session over data layer
* Add initial onboarding and login flow
In onboarding, the home assistant urls are received from connected devices. If the user clicks on it, the authentication flow starts.
The user can alter the login details and proceed to login.
The authentication uses the "auth/login_flow" api, instead of the normal authentication api, since there is no support for webview on wear os.
* Clean up wear and app communication
Clean up
* Add proof of authentication on home. And add logout button on home
* Update onboarding list
* Add loading views and error messages
* Move startup logic to HomeActivity to hopefully save some resources
* Add manual setup option and improve UI
* Cleanup
* Passing ktLintCheck
* Passing ktLintCheck after rebase
* Fix building after build.gradle changes during rebase
* Process review comments
Remove multiple product flavors
Remove unnecessary log
Replace margin with additional header
2021-09-30 20:41:22 -04:00
Justin Bassett
2da4578f79
Update to use latest Android Gradle Plugin. ( #1655 )
...
* Update to use latest Android Gradle Plugin.
This includes updating to use Java 11.
Also bump a test dep.
* Bump Dagger
* Naming of task for JDK Setup.
* Disable test.... scopes stink for testing.
* ktlint.
2021-08-06 21:41:30 -04:00
Justin Bassett
c5ebd99a48
Dependency Updates. ( #1643 )
...
* Dependency Updates.
Needed to correctly call for Firebase Token in ioScope not main.
* Bump coroutines test dep as well.
2021-07-25 20:56:58 -04:00
Justin Bassett
151957436c
Fix Playstore Publish and add Dependabot ( #1621 )
...
* Fix GPP error and remove deprecated repos.
* Migrate off Config.kt so we can enable dependabot.
* Add Dependabot config.
2021-07-25 15:33:59 -04:00
Nelson Osacky
89457c5fe0
Bump AGP, Gradle and Kotlin Versions ( #1563 )
2021-06-08 14:58:50 -04:00
Justin Bassett
3b614548d6
Feature/wear publishing ( #1264 )
...
* Cleanup .gitignore
* Move to just wear rather than wearos_app.
* Try to use lots of wildcards for debug pr build archiving.
2020-12-27 22:04:37 -05:00