Closed minhnimble closed 8 months ago
When attempting to log in to the application without any connection, the app stucks at loading state forever.
The application should show a proper error message stating to the user that there is not a network connection.
https://github.com/hsu-hsu/nimble-survey-app/assets/70877098/efd8e464-df72-4745-82de-5311e23c3f4a
I add a network status interceptor to check network connectivity in this pull request. I also handle error from APIs too. pull request -> #23
Issue
When attempting to log in to the application without any connection, the app stucks at loading state forever.
Expect
The application should show a proper error message stating to the user that there is not a network connection.
Steps to reproduce
https://github.com/hsu-hsu/nimble-survey-app/assets/70877098/efd8e464-df72-4745-82de-5311e23c3f4a