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

Update Firebase notifications #577

Merged
merged 2 commits into from
Feb 18, 2024
Merged

Update Firebase notifications #577

merged 2 commits into from
Feb 18, 2024

Conversation

s0phialiu
Copy link
Contributor

Description

  • Updates Firebase notifications for iOS app
  • Includes new Notification model and service

Comment on lines 87 to 88
print("Received notification:")
print(notification.request.content.userInfo)
Copy link
Contributor

Choose a reason for hiding this comment

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

do you want to leave these debugs in prod?

func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String?) {
// Called when the app has successfully registered with FCM and received a registration token
self.fcmToken = fcmToken
print("FCM Token: \(fcmToken)")
Copy link
Contributor

Choose a reason for hiding this comment

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

this one too

lasyaneti
lasyaneti previously approved these changes Feb 18, 2024
@s0phialiu s0phialiu merged commit 1b73429 into dev Feb 18, 2024
2 checks passed
@s0phialiu s0phialiu deleted the sophia/firebase-notifications branch February 18, 2024 15:35
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.

None yet

2 participants