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: fcm 적용 #75

Merged
merged 2 commits into from
Nov 11, 2024
Merged

feat: fcm 적용 #75

merged 2 commits into from
Nov 11, 2024

Conversation

l-lyun
Copy link
Contributor

@l-lyun l-lyun commented Nov 9, 2024

#️⃣연관된 이슈

resolves: #36

📝작업 내용

  • fcm 기능 부착
    • fcm 관련 라이브러리 설치
    • 현재 notifee 라이브러리는 설치 이후 미사용
      • 푸시 알람 세부 조작 및 디자인 위해 필요해서 피드백 이후 적용 예정

스크린샷 (선택)

image
안드로이드 환경에서는 백엔드와 연동확인했습니다.

💬리뷰 요구사항(선택)

fcm 관련함수 /utils에 모아놨는데, 해당 디렉토리에 작성하면 맞는지 궁금합니다.

앱 초기화면인 승민이형 페이지 feedPage에서
현재 기기 토큰 가져오기, 푸시알람 권한 허용, fcm foreground/background handler 모두 진행하고 있는데,
해당 로직 위치 논의 필요해보입니다.

적용 파일 및 애플 계정 슬랙에 업로드 해놓겠습니다.

@l-lyun l-lyun force-pushed the feature/push-alarm branch from f85aaba to a6db0ef Compare November 9, 2024 16:51
@l-lyun l-lyun requested review from 99mini and itslitulinchpin2 and removed request for 99mini November 9, 2024 16:52
Copy link
Contributor

@99mini 99mini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고 많았습니다~!

Comment on lines +44 to +48
// TODO: fcm permission 로직 위치 논의 필요
requestNotificationPermission();
const unsubscribe = handleForegroundMessage();
requestUserPermission();
setBackgroundMessageHandler();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@l-lyun l-lyun merged commit 2a674fd into main Nov 11, 2024
1 check passed
@l-lyun l-lyun deleted the feature/push-alarm branch November 19, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(client): push 알림 기능 개발
2 participants