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

Source of errors: spec #121

Open
frapontillo opened this issue Jul 16, 2014 · 0 comments
Open

Source of errors: spec #121

frapontillo opened this issue Jul 16, 2014 · 0 comments
Labels

Comments

@frapontillo
Copy link
Contributor

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!)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant