- France
- https://amine-bouabdallaoui.fr
- Joined on
2022-07-18
repository.offlineOverride
should only refreshed on app reload or swipe to refresh.
There should be a message emited on network available too.
This should be reverted to the old network status check, because the network availability watcher should be stopped when the app is in the background.
This should only be done if the network is available as it was before.
That´s why, in the background service, I asked to keep the network check as it was.
The background service should check, when executed, the network status.
Having things like so, let you…
This is mercury. It parses the page and fetch it´s content.
I'll look into why it does not work.
The else
block would have the BD fetching that'll assign the DB items to fetchedItems
.
I think that this should be the only place where the connectivity check should stay like this.
Same here.
Same here. We are fetching data from an api, and we there is no need to do try anything if there is no network available.
It's weird to have this here. offlineOverride
shouldn't be overridden from inside the repository.