- Exchange server information between the Wear app and phone app, and create a temporary server on the phone that holds the Wear server information, to ensure that the same server is used on both devices
- Expand the automatic Thread dataset sync on Matter commissioning to also send the device-preferred Thread dataset if it's different from core (it will either receive something new or update)
* Creation of Automotive Module and Fix OnboardingActivity parent Activity.
* Adding Manifest Dependencies.
* Fixing ktlint
* Remove unused import.
* Copy Google Services to android automotive
Github actions for PR require this to be set up in order for the build to pass.
* Missing two entries to copy the google-services.json file
* Fixing Build Process.
* Version code +2
We add 2 because the app, wear (+1) and automotive versions need to have different version codes.
* Update +3 per recomendation.
* Code to support transition from Full app to Car App Library.
* Fixing linter.
* More ktlin
/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:19:1 Needless blank line(s)
/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:31:95 Unnecessary semicolon
/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:39:1 Unexpected blank line(s) before "}"
/home/runner/work/android/android/app/src/main/java/io/homeassistant/companion/android/BaseActivity.kt:44:1 First line in a method block should not be empty
* Changes to allow navigate back from / native and feedback from PR.
* Indentation fixes.
* Get and cache user information
- Add function to get information about the current user
- Cache user information alongside server in database
* Replace/prevent admin only calls
* Prevent crash when pausing if server is deleted
* Handle race when deleting
- Handle a race condition where we delete and finish the activity at the same time during which it might not yet have been fully removed
- Handle a race condition where a back-up may be restored and a server is deleted on startup, which causes the authentication repository to become unavailable with a minor delay
* Push Wear users to install app on phone
- Push Wear OS users to install the app on their phone if they don't already have it, as the sign in experience is a lot better and less sensitive to errors
- Allow using 'Advanced' if the user cannot or doesn't want to install the app on their phone
* Fix import
* Add time
* Update play store listing for wear OS
* Update description and add screenshots for tiles
* Update phone screenshots to be consistent and showcase some widgets
* Fix small size
* Use single screenshot to show widgets and meet requirements
* Update home screen images
* Show all widgets
* Update camera widget image, oops
* Fix screenshots
* Use a foreground service for reliable beacon scanning in background
* Clean up
* Add action to stop beacon scanning
* Match sensor name
* Use existing Disable string for action
* ktlint
- Prevent the sensor worker runs from taking a long time when the app version changes if a server is offline due to reregistration of all servers (~15 min), by skipping these re-registrations if it fails with an exception that indicates offline/network issues.
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
* Make background transparent, remove resizing and set minimum size to 1x1 grid for camera widget
* Use transparent background with rounded corners
* Remove background
* Change image view scale type
* Restore transparent background
* Set target cell size to maintain 2x2 grid by default
---------
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
* Bump org.jlleitschuh.gradle.ktlint from 11.1.0 to 11.2.0
Bumps org.jlleitschuh.gradle.ktlint from 11.1.0 to 11.2.0.
---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* gradlew ktlintFormat
* Rename packages with underscores
> Task :app:ktlintMainSourceSetFormat FAILED
home-assistant-android\app\src\main\java\io\homeassistant\companion\android\widgets\media_player_controls\MediaPlayerControlsWidget.kt:1:1 Package name must not contain underscore (cannot be auto-corrected)
home-assistant-android\app\src\main\java\io\homeassistant\companion\android\widgets\media_player_controls\MediaPlayerControlsWidgetConfigureActivity.kt:1:1 Package name must not contain underscore (cannot be auto-corrected)
Rename: media_player_controls to mediaplayer
> Task :wear:ktlintMainSourceSetFormat FAILED
home-assistant-android\wear\src\main\java\io\homeassistant\companion\android\onboarding\manual_setup\ManualSetupActivity.kt:1:1 Package name must not contain underscore (cannot be auto-corrected)
home-assistant-android\wear\src\main\java\io\homeassistant\companion\android\onboarding\manual_setup\ManualSetupModule.kt:1:1 Package name must not contain underscore (cannot be auto-corrected)
home-assistant-android\wear\src\main\java\io\homeassistant\companion\android\onboarding\manual_setup\ManualSetupPresenter.kt:1:1 Package name must not contain underscore (cannot be auto-corrected)
home-assistant-android\wear\src\main\java\io\homeassistant\companion\android\onboarding\manual_setup\ManualSetupPresenterImpl.kt:1:1 Package name must not contain underscore (cannot be auto-corrected)
home-assistant-android\wear\src\main\java\io\homeassistant\companion\android\onboarding\manual_setup\ManualSetupView.kt:1:1 Package name must not contain underscore (cannot be auto-corrected)
Rename: manual_setup to manual
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
* WebView check app lock on server change
* Settings check app lock on server details
- If the currently active server has a lock, show it
- If the currently visible server has a lock, also show it
* Sync sensors with individual servers
- Update sensors once, and allow syncing enabled/state with individual servers instead of doing the same for every server
- Default to the default sensor enabled state for new servers instead of copying another server
* Make last update sensor server-specific
* UI
* New servers: enable if enabled on any server
* Handle per-server enabled state in location tracking
* Fix icons in dark mode
* Server gestures and chooser
- Add gestures to quickly switch between multiple servers
- Add a chooser to select a server, and add a gesture for it
* Fix history (new page is added _after_ loading finishes)