simra-project / simra-project/simra-android

ride is lost when simra is closed, while recording is running

Open
#31 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
22
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Reproduce

  1. record a ride
  2. while recording open app switcher and swipe app to the top to close it

Currently

The app closes and the ride is lost.

Expected

A few options.

  • show a dialog that a recording is ongoing and ask whether the user wants to stop recording
  • in case the recording must be stopped and there is no option to continue, make sure to store the ride until the current location and only then close the app and stop the recording, so no information is lost
  • with Osmand app I noticed that even after closing the app, a widget with the navigation was still active. If something similar is possible or simra-android that would be amazing

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the recording flow, then close simra-android from the app switcher while the ride is active. Inspect the recording lifecycle around app closure; done means the user is prompted appropriately or the ride is stored through the current location without losing recorded information.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.