Track recording should store track and recording status to disk regularly during recording, so that in case the app restarts it can resume recording.
Currently the app loses recorded track upon restarting, which is a likely situation due to battery optimization of the phone, user error or phone power issue.
I've lost several tracks recently during hiking (solution should be offline) when the aboves occurred at the end of the day and several hours of data has been lost, although most of the track was recorded properly and could have been saved. Alps missing my tracks...
I imagine the app asking for file system permission and keeping a file with the waypoints being recorded. Updating that e.g. every 5 minutes. When app starts, it checks for this file and if recording was likely interrupted, it prompts the user to resume recording or save track.
Currently the app loses recorded track upon restarting, which is a likely situation due to battery optimization of the phone, user error or phone power issue.
I've lost several tracks recently during hiking (solution should be offline) when the aboves occurred at the end of the day and several hours of data has been lost, although most of the track was recorded properly and could have been saved. Alps missing my tracks...
I imagine the app asking for file system permission and keeping a file with the waypoints being recorded. Updating that e.g. every 5 minutes. When app starts, it checks for this file and if recording was likely interrupted, it prompts the user to resume recording or save track.