CoronaTeam / CoronaGame

Software Development Project 2020
3 stars 0 forks source link

Dev/offline mode #206

Closed matteopariset closed 4 years ago

matteopariset commented 4 years ago

Correctly handle offline mode

matteopariset commented 4 years ago

To know if an Internet connection is available, everyone can:

  1. Bind to LocationService
  2. Get ConnectivityBroker
  3. Observe it
  4. When the status of the connection changes, it is notified. To get the current status it must call hasInternetConnection()
codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit 0e44f213 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 62.9% (80% is the threshold).

This pull request will bring the total coverage in the repository to 85.2% (-0.5% change).

View more on Code Climate.