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

네트워크가 연결안된 상태로 컨트리뷰트 화면 진입시 앱이 종료 됨 #166

Closed
Pluu opened this issue Aug 1, 2023 · 1 comment · Fixed by #238
Closed
Assignees
Labels
2023 bug Something isn't working

Comments

@Pluu
Copy link
Member

Pluu commented Aug 1, 2023

Overview (Required)

  • 네트워크가 안되는 환경에서 특정 화면을 진입할 수 없습니다.

Steps To Reproduce

  1. 네트워크 Off로 설정
  2. 앱 실행
  3. 컨트리뷰트 화면 진입
  4. 앱이 종료됨

Expected behavior
앱 강제 종료외의 현상이 노출되어야합니다.

Screenshots

b.mp4
@Pluu Pluu added the bug Something isn't working label Aug 1, 2023
@JeonK1
Copy link
Contributor

JeonK1 commented Aug 20, 2023

🙋‍♂️
네트워크를 사용하는 화면들의 UiState 에서 Error State 도 만들어주며, Network 에서 데이터를 가져올 때 flow.catch { } 을 통해 에러가 발생한 경우 Error State 반환 및 UI 에서 처리하도록 수정할 예정이며,
Error State 시의 UI 처리는 Loading 상황에서의 UI 처리와 동일하게 보여주지만 SnackBar 를 에러타입에 따라 "네트워크 연결이 원활하지 않습니다", "알 수 없는 오류가 발생하였습니다" 로 노출할 계획입니다.

다만 #225 이슈를 통해 HomeViewModel 에서 Loading 에 대한 UiState 가 추가될 수 있음을 우려하여 해당 이슈가 종료된 후에 진행하고자 합니다.

laco-dev added a commit that referenced this issue Aug 26, 2023
[Bug] 네트워크가 연결안된 상태로 컨트리뷰트 화면 진입시 앱이 종료 됨
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2023 bug Something isn't working
Projects
None yet
3 participants