Skip to content
This repository was archived by the owner on Mar 19, 2020. It is now read-only.
This repository was archived by the owner on Mar 19, 2020. It is now read-only.

Source of errors: spec #121

@frapontillo

Description

@frapontillo

Let's discuss a little bit all the foreseeable source of errors we currently have/handle/don't give a f---.

  1. No network: should cause "no network available" (or disregard if a previous value is available, discuss!)

  2. Poor network / connection timeouts / network f---up

    a. should retry a few times
    b. then fall back to case 1

  3. No location provider

    a. should cause a "no location provider available message"
    b. should check for a location provider every time we request it
    c. should show the previous temp if available and pretend the world is flat? (discuss!)
    d. should we use Play Services only (pros: setup a min distance before triggering an update, cons: less devices, maybe)? (discuss!)
    e. optionally to d., should we migrate to Android-LocationHub (tests needed)? (discuss!)

  4. No location available

    a. should be protected by "no location provider available" (see 3)
    b. should use the previous location? (discuss!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions