hsu-hsu / nimble-survey-app

This is an application that allows users to browse a list of surveys.
0 stars 0 forks source link

[Bug] Stuck at a loading state when there is no internet connection on Login page #14

Closed minhnimble closed 8 months ago

minhnimble commented 8 months ago

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

hsu-hsu commented 8 months ago

I add a network status interceptor to check network connectivity in this pull request. I also handle error from APIs too. pull request -> #23