Closed valllllll2000 closed 7 years ago
Here is how it looks so far @janagombitova. About the error messages, not sure if we should put "Error getting location" or "timeout getting location" or the one that you can see on the snackbar already which is "Unable to get location.".
@valllllll2000 it is looking very good. I would use Unable to get location (without the ".")
Once Alphonso clicks on Retry, will the Chech Geo Location button be disabled as mentioned in this https://github.com/akvo/akvo-flow-mobile/issues/673 issue?
@janagombitova Yes, it will but I will work on that in the issue #673
Here is the new screenshot. I have changed the accuracy string as well as I was finding it confusing it used to say "Acc:" and now it is "Accuracy: unknown".
Enable location on your device. While being inside of a building you should not get gps location on most devices and since we have a timeout of 60 seconds you should be able to reproduce the timeout every time. Assign a survey with a location question. Press "check geo location". Wait for 1 minute. You should see Snack bar as on the screenshot above. Pressing "retry" will attempt to fetch the location again.
@valllllll2000 it all works as it should but I do not like that the snackbar disappears so quickly from my screen, I did not even get to notice what it was saying and what I can do. Can you automatically time it out after a bit longer time?
Better. Thanks 👍
Instead of the current TextView with the Text "timeout" we will display a snackBar with a retry button