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

로그인 - FCM 기능 추가 #277

Merged
merged 3 commits into from
Apr 11, 2023
Merged

로그인 - FCM 기능 추가 #277

merged 3 commits into from
Apr 11, 2023

Conversation

WhiteHyun
Copy link
Member

@WhiteHyun WhiteHyun commented Apr 10, 2023

📌 PR 요약

🌱 작업한 내용

  • Firebase의 Cloud Messaging 기능을 구현

🌱 PR 포인트

  • 로그인 관련 서버 요청 모델에 fcmToken 추가
  • UserManagerfcmToken 프로퍼티 추가
  • AppDelegate에서 FCM 세팅

📮 관련 이슈

UserManager가 fcmToken을 관리하게 되면서 AppDelegate에서 받아온 fcmToken을 세팅할 수 있게 됨
로그인(회원가입) 요청 모델에 fcmToken을 추가로 처리
@WhiteHyun WhiteHyun added 😎 Enhancement New feature or request ✋ Login D+1 PR올린 다음날 까지는 리뷰 부탁드립니다 labels Apr 10, 2023
@WhiteHyun WhiteHyun self-assigned this Apr 10, 2023
Copy link
Contributor

@soobin-k soobin-k left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 승현님!! 푸시알림 너무 기대되네요👍😊👍

extension AppDelegate: MessagingDelegate {
func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String?) {
guard let fcmToken else { return }
Log.notice(fcmToken)
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@WhiteHyun WhiteHyun merged commit 115f1d4 into develop Apr 11, 2023
@WhiteHyun WhiteHyun deleted the feat/186-FCM/Tokens branch April 11, 2023 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D+1 PR올린 다음날 까지는 리뷰 부탁드립니다 😎 Enhancement New feature or request ✋ Login
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 로그인 API - FCM 추가
2 participants