-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Remove firebase-admin dependency #35798
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good and minimal enough to me for now as long as it won't cause problems to revert (I don't think that'll happen, but don't want to discount the possibility)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have context on the associated Connect functionality; however, from HQ's perspective, the changes look good to me.
) | ||
|
||
FCM_NOTIFICATION = StaticToggle( | ||
'fcm_notification', | ||
'Allows access to FCM Push Notifications', | ||
'FCM Push Notifications - no longer functional', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ajeety4
Can you confirm that this would discontinue the feature itself then, FCM notifications?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes in this PR should simply log an error in case a fcm push notification are attempted via the conditional alerts. I believe follow up work will be require to entirely remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajeety4 Can you help with a ticket for the same? also, no projects are using this?
fyi @shubham1g5 if there is anything to be removed from app side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correction, the code has been asked to kept around for future use.
Remove feature-flagged functionality that depends on firebase-admin to allow it and its sub-dependencies to be removed. This is a minimal PR to make it possible to remove dependencies. More code could and probably should be removed. See #33047 for other things that may also be removed in the future.
Slack discussion.
Feature Flag
Affects
FCM_NOTIFICATION
toggle, which has been updated with a note that it is no longer functional.Safety Assurance
Safety story
Removes a pre-release feature that is no longer in use.
Automated test coverage
Rollback instructions
If this PR must be reverted the dependencies that are removed will need to be updated to support Python 3.13.