If I'm not wrong it's caused by the AsyncValueWidget that shows an ErrorMessageWidget in case the value of a provider is AsyncError.
The UI doesn't only break on "No internet connection" but also on some other not expected errors (i. e. reloading a group_screen of a group that has been deleted in the meanwhile)
ErrorMessageWidget has to be modified. I think the best solution, if it's possible, would be to show a popup with "Something gone wrong" & error message and a button that takes the user back to the HomeScreen. Many of the errors will be gone by then. Some better error handling might be needed in particular cases (in a new issue)
Our endusers shouldn't really see the error message, in the future we will introduce some error codes and show them instead of the error messages.
If I'm not wrong it's caused by the
AsyncValueWidget
that shows anErrorMessageWidget
in case the value of a provider isAsyncError
.The UI doesn't only break on "No internet connection" but also on some other not expected errors (i. e. reloading a group_screen of a group that has been deleted in the meanwhile)
ErrorMessageWidget
has to be modified. I think the best solution, if it's possible, would be to show a popup with "Something gone wrong" & error message and a button that takes the user back to theHomeScreen
. Many of the errors will be gone by then. Some better error handling might be needed in particular cases (in a new issue)Our endusers shouldn't really see the error message, in the future we will introduce some error codes and show them instead of the error messages.