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

Support android FCM notification delegation proxy controls #8112

Open
mikehardy opened this issue Nov 2, 2024 · 0 comments
Open

Support android FCM notification delegation proxy controls #8112

mikehardy opened this issue Nov 2, 2024 · 0 comments
Labels
Needs Attention platform: android plugin: messaging FCM only - ( messaging() ) - do not use for Notifications type: enhancement Implements a new Feature

Comments

@mikehardy
Copy link
Collaborator

What feature would you like to see?

Looks like there is a new potential meta-data addition and 3 methods available in the firebase-android-sdk to support a new "notification proxy delegation" feature

Use of the notification proxy delegate is related to FCM message priority, delivery rates, and delivery rate reporting so affects a number of use cases critical to apps using the react-native-firebase / notifee combo that need fine-grained control over and ability to report on message delivery

These features were introduced in two phases, with the last one (so a sufficient release to assume we have APIs in place is) being Firebase Android BoM (Bill of Materials) version 29.0.0 - so everyone should have this by now

Info

https://firebase.google.com/docs/cloud-messaging/android/message-priority#proxy

APIs

https://firebase.google.com/docs/reference/android/com/google/firebase/messaging/FirebaseMessaging#isNotificationDelegationEnabled()
https://firebase.google.com/docs/reference/android/com/google/firebase/messaging/FirebaseMessaging#setNotificationDelegationEnabled(boolean)
https://firebase.google.com/docs/reference/android/com/google/firebase/messaging/FirebaseMessaging#setDeliveryMetricsExportToBigQuery(boolean)

AndroidManifest.xml meta-data key, noted in same API docs:
https://firebase.google.com/docs/reference/android/com/google/firebase/messaging/FirebaseMessaging#setNotificationDelegationEnabled(boolean)

@mikehardy mikehardy added type: enhancement Implements a new Feature Needs Attention platform: android plugin: messaging FCM only - ( messaging() ) - do not use for Notifications labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention platform: android plugin: messaging FCM only - ( messaging() ) - do not use for Notifications type: enhancement Implements a new Feature
Projects
None yet
Development

No branches or pull requests

1 participant