Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: 개인런 도중 앱 종료 시 대응 #40

Open
sjsjsj1246 opened this issue Nov 9, 2021 · 0 comments
Open

Feat: 개인런 도중 앱 종료 시 대응 #40

sjsjsj1246 opened this issue Nov 9, 2021 · 0 comments
Assignees
Labels
Feature ✨ 새로운 기능 개발

Comments

@sjsjsj1246
Copy link
Member

개인런 도중에 네트워크 연결이 끊겨 정상적으로 종료를 못했거나 앱이 갑자기 종료되었을 경우 러닝 데이터는 소멸합니다.
따라서 위치가 갱신될 때 마다 기기 file-sytem에 개인런 기록을 저장하여 추후 앱이 다시 로드되었을 때 이 데이터가 남아있을 경우 개인런 종료 요청을 서버에 보낼 예정입니다.

  1. 개인런 도중 위치 갱신 시 파일시스템에 저장
  2. 개인런이 정상적으로 종료됐을 경우 파일 시스템의 데이터 제거
  3. 개인런이 비정상적으로 종료되었을 경우 파일시스템에 캐시가 남아있게 됨
  4. 앱이 다시 로드되었을 때 이 데이터가 있을 경우 개인런 종료 요청을 보내고 성공 시 이 데이터를 제거함
@sjsjsj1246 sjsjsj1246 added the Feature ✨ 새로운 기능 개발 label Nov 9, 2021
@sjsjsj1246 sjsjsj1246 self-assigned this Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature ✨ 새로운 기능 개발
Projects
None yet
Development

No branches or pull requests

1 participant