home-assistant / home-assistant/android
Remove any usage of `runBlocking`
Open
enhancement
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
We do have a lot of `runBlocking` usage in the app. Most of them could be replaced by a proper coroutine. It leads to some ANR because it actually blocks the Main thread which we must not do under any circumstances.
It is not an easy task since some of them are quite hard to replace properly.
Contributor guide
Assessment
This issue has not been assessed yet.