home-assistant / home-assistant/android
Crashes during Load on Non-Google Play WearOS - Xiaomi Watch 5
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
I'm using the WearOS version on my Xiaomi Watch based on HyperOS.
On running the App, I get a couple of warnings.
[warning.txt](https://github.com/user-attachments/files/31876386/warning.txt)
the HyperOS version is more like a vanilla WearOS without Google Play related dependencies.
Also I get the following error during the App Crash on load
[loadcrash.txt](https://github.com/user-attachments/files/31876395/loadcrash.txt)
The developer [@RomaricKc1](https://github.com/RomaricKc1) in the App [WaterReminder](https://github.com/RomaricKc1/WaterReminder)
found a solution by implementing
`import androidx.wear.compose.foundation.rotary.RotaryScrollableDefaults`
and
`rotaryScrollableBehavior =
RotaryScrollableDefaults.behavior(
listState,
hapticFeedbackEnabled = false,),`
Do you think the same issue is the one with HomeAssistant Companion on WearOS
Contributor guide
Research direction
Start by reviewing the attached warning.txt and loadcrash.txt logs, then reproduce the crash on a non-Google Play WearOS device such as the Xiaomi Watch 5. Compare the failing load path with the referenced WaterReminder behavior; done means the Home Assistant WearOS app launches successfully without the reported crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100