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

Aperta
#31 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
android, java
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Java
Stelle
22
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di simra-project/simra-android

Tutte le issue di simra-project/simra-android

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.