Skip to content

[feat/#74] FCM 푸시 알림 탭 시 deepLinkType 딥링크 이동 - #78

Merged
oilbeaneda merged 3 commits into
feat/#69-notification_apifrom
feat/#74-push_deeplink
Sep 23, 2026
Merged

oilbeaneda merged 3 commits into
feat/#69-notification_apifrom
feat/#74-push_deeplink

Conversation

@oilbeaneda

@oilbeaneda oilbeaneda commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Related issue

Closed #74

작업 내용

FCM 푸시 알림을 탭했을 때 deepLinkType에 따라 해당 홈 펍 화면으로 이동시킵니다. (기존에는 앱만 실행)

공용 딥링크 헬퍼

  • NotificationDeepLink: FCM data 페이로드 / Intent extras 파싱 + deepLinkType → businessDay(오늘/내일 요일) 변환을 한곳에서 관리
  • 인앱 알림 카드 클릭과 FCM 푸시 탭이 동일 규칙을 공유 (NotificationViewModel의 요일 계산 중복 제거)

푸시 → 딥링크 라우팅

  • MoballNotifier: 탭 PendingIntent에 deepLinkType/teamIds extras 적재 (알림마다 고유 id로 extras 덮어쓰기 방지)
  • MoballMessagingService: data 페이로드의 deepLinkType/teamIds를 Notifier에 전달
  • MainActivity: 푸시 탭 intent 파싱 → MainScreen에 전달, onNewIntent(실행 중 재진입)도 처리
  • MainScreen: 메인 탭 진입 후에만 딥링크 소비 (콜드 스타트 시 스플래시/로그인 라우팅이 먼저 끝나도록 가드)
  • MainAppState.applyPubDeepLink 추출 → 인앱 카드 탭/푸시 탭 로직 공유

백엔드 협의 필요

  • FCM 발송 시 data 페이로드에 deepLinkType, teamIds(예: "1,2") 포함 필요 (키 이름 확인)
  • 백그라운드 notification 페이로드 자동표시 케이스도 data 필드가 있어야 탭 라우팅 가능

남은 후속

oilbeaneda and others added 2 commits September 23, 2026 10:36
[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: 요일 계산 중복 제거(공용 헬퍼 사용)
@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • main
  • develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: swyp-5th-team9/android/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 33b29f8e-8ef8-4349-b355-2be2ab306a8a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@oilbeaneda oilbeaneda self-assigned this Sep 23, 2026
@oilbeaneda oilbeaneda added the Feat ✨ 신규 기능을 추가하거나 기존 기능의 동작, 정책을 변경 label Sep 23, 2026
@oilbeaneda
oilbeaneda merged commit 1ff7f96 into feat/#69-notification_api Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feat ✨ 신규 기능을 추가하거나 기존 기능의 동작, 정책을 변경

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant