It has been noted that the offline check we have in place is weak. We currently use it in the onboarding for disabling download option and in the landing page for disabling the feedback button. But there are more uses coming for content management: download content should be scheduled for later if the app is offline https://github.com/endlessm/endless-key-content-private/issues/17#issuecomment-1551338721
The way we do it is by listening to the browser offline event.
The Kolibri Device tab does it by checking if Kolibri Studio is reachable. That seems a better approach for or own content management, which uses Studio too.
It has been noted that the offline check we have in place is weak. We currently use it in the onboarding for disabling download option and in the landing page for disabling the feedback button. But there are more uses coming for content management: download content should be scheduled for later if the app is offline https://github.com/endlessm/endless-key-content-private/issues/17#issuecomment-1551338721
The way we do it is by listening to the browser offline event.
The Kolibri Device tab does it by checking if Kolibri Studio is reachable. That seems a better approach for or own content management, which uses Studio too.