Repository navigation
모바일 앱에 계정 화면과 로그아웃 추가 - #144
Merged
Merged
Conversation
각 탭 헤더의 사람 아이콘으로 계정 화면에 들어가 로그아웃할 수 있게 한다. 로그아웃 시 이 기기의 예약 알림 취소 → 구글 로그아웃 → firebase 로그아웃 → 쿼리 캐시 비우기 순서로 처리하고, firebase 로그아웃 실패만 사용자에게 알린다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mobile/src/auth/signOut.ts: 예약 로컬 알림 전체 취소 → 구글 로그아웃 → firebase 로그아웃 → React Query 캐시 비우기onAuthStateChanged→ RootNavigator가 처리(별도 navigate 없음)Test plan
signOut단위 테스트 4건: 호출 순서, 구글 로그아웃 실패 시 계속 진행, 알림 취소 실패 시 계속 진행, firebase 실패 시 throw + 캐시 유지AccountScreen테스트 5건: 이메일 표시, 확인 시 signOut 호출, 취소 시 미호출, 실패 Alert 후 버튼 재활성화, 처리 중 비활성화tsc --noEmit클린🤖 Generated with Claude Code