Repository navigation
[feat/#74] FCM 푸시 알림 탭 시 deepLinkType 딥링크 이동 - #78
Conversation
[feat/#69] 알림 기능 서버 연동 (조회/삭제/읽음) + 딥링크 이동
- NotificationDeepLink: FCM data/Intent extras 파싱 + deepLinkType→요일 변환 공용 헬퍼 - MoballNotifier: 탭 PendingIntent에 deepLinkType/teamIds extras 적재(알림별 고유 id) - MoballMessagingService: data 페이로드의 deepLinkType/teamIds 전달 - MainActivity: 푸시 탭 intent 파싱→MainScreen 전달, onNewIntent 처리 - MainScreen: 메인 탭 진입 후 딥링크 소비(스플래시/로그인 라우팅 우선) - MainAppState.applyPubDeepLink 추출로 인앱 카드 탭/푸시 탭 로직 공유 - NotificationViewModel: 요일 계산 중복 제거(공용 헬퍼 사용)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: swyp-5th-team9/android/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Related issue
Closed #74
작업 내용
FCM 푸시 알림을 탭했을 때
deepLinkType에 따라 해당 홈 펍 화면으로 이동시킵니다. (기존에는 앱만 실행)공용 딥링크 헬퍼
NotificationDeepLink: FCM data 페이로드 / Intent extras 파싱 +deepLinkType → businessDay(오늘/내일 요일)변환을 한곳에서 관리NotificationViewModel의 요일 계산 중복 제거)푸시 → 딥링크 라우팅
MoballNotifier: 탭 PendingIntent에deepLinkType/teamIdsextras 적재 (알림마다 고유 id로 extras 덮어쓰기 방지)MoballMessagingService: data 페이로드의deepLinkType/teamIds를 Notifier에 전달MainActivity: 푸시 탭 intent 파싱 →MainScreen에 전달,onNewIntent(실행 중 재진입)도 처리MainScreen: 메인 탭 진입 후에만 딥링크 소비 (콜드 스타트 시 스플래시/로그인 라우팅이 먼저 끝나도록 가드)MainAppState.applyPubDeepLink추출 → 인앱 카드 탭/푸시 탭 로직 공유백엔드 협의 필요
deepLinkType,teamIds(예:"1,2") 포함 필요 (키 이름 확인)남은 후속
NEARBY_PUBS내 위치 중심 지도 센터링([feat] 알림 NEARBY_PUBS 딥링크 시 내 위치 중심 지도 센터링 #75)