Crash when poor or no connection with widgets
See original GitHub issueHome Assistant Android version: 2022.3.0-full
Android version: 12
Phone model: Pixel 5
Home Assistant version: 2022.3.8
Last working Home Assistant release (if known): ??
Description of problem: I have several widgets. One of them to display an entity and 22 service calls. Quite a few times, when I loose connection with the HA or recover it (when I have poor coverage, in the garage, when toggling back from Airplane Mode to normal mode …), I have one or several crashes.
Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
Screenshot of problem:
Additional information:
Issue Analytics
- State:
- Created a year ago
- Comments:26 (12 by maintainers)
Top Results From Across the Web
WidgetKit Crash | Apple Developer Forums
Happened to me today as well. It seems to be an error that Xcode missed before compiling, resulting in a bad function in...
Read more >Android glitch: how to stop Google apps and widgets from ...
Android users are having a pretty bad few days. A system-wide glitch is causing dozens of apps and widgets to crash immediately.
Read more >Find problem apps by rebooting to safe mode on Android
Restarting itself. Freezing. Crashing. Running slow. Restart in safe mode. Important: Safe mode removes some Home screen widgets.
Read more >Apple widgets crash with weird network setup – Jaanus
The widgets work fine when the Internet is either “on”, meaning you have full fine connectivity, or “off”, where you don't have a...
Read more >Question - Photos crashing and weather widget unresponsive..
They barely fixed the poor cell signal issue. ... No crashing with Google Photos or editing for me - use them both every...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree, and the PR mentioned in my previous comment + the linked PR should prevent two crashes you were experiencing and makes it possible to recover from them.
Please open a new issue for this with more details so we can look into it. Possibly a duplicate of #2604?
I’ve done this. And so far, so good.
However, I assume that despite “fixing the DB” from the app, it should treat the crashes more gracefully and be transparent to the user, with no visible crash.
Furthermore, the “edition” of a widget is not working correctly, both for “entity states” and “service buttons” are broken when editing.