e-mission / e-mission-data-collection

Repository for our own data collection
BSD 3-Clause "New" or "Revised" License
4 stars 19 forks source link

Fix location services tracking toggle on android #169

Closed shankari closed 5 years ago

shankari commented 5 years ago

This fixes the issue with turning location services off in the WAITING_FOR_TRIP_START state. That generates a tracking error, which then generates a notification asking people to turn on location services again. Assuming the checkForLocationSettings fails, the generated notification prompts the user to turn on location services again, and the data collection plugin then re-initializes the FSM so that we return to WAITING_FOR_TRIP_START

shankari commented 5 years ago

Has been tested by @PatGendre, @deepalics0044 and @hmharvey, so I assume this is GTG!