kolibri
kolibri copied to clipboard
Android app - No notification for lack of network connection
Observed behavior
Currently there's no clear indication to an android user that the network connection connection has been lost. This can cause confusion for the user.
Expected behavior
Detect lost network connection and notify the user.
Steps to reproduce the issue
- Install this Windows build and this Android build
- Setup the Windows app as a server.
- Launch the android app and start adding learner accounts.
- Turn off the device wi-fi connection.
- Attempt to add another learner - an "Incorrect username and password" validation message is displayed instead of a notification that there is no network connection and then the last added learner is automatically signed in. (highly confusing behavior)
- Attempt to import a channel - the option for importing from Kolibri Studio (online) is disabled while the option to import from local network or internet is not (again not clear to the user what is going on)
Additional information
Connection lost during learner import:

The Select a source modal:

Usage Details
- OS: Windows 10, Android 11
- Browser: Chrome
@jtamiace and @radinamatic
Some of this should be addressed by some of the 0.16 work, the rest we can further triage to 0.17.
I believe this requires some Android integration, to support the reactivity on the network changes and connectivity status. There's likely challenges in relaying that reactive information using python-for-android, so this might be better suited along side chaquopy