Is it possible to modify the background/quit notifications before displaying them on the phone? #7499
-
First of all, I want to thank the maintainers of this package for their wonderful work on this package. I use They want to send personalized notifications. So basically they want to send a notification like this: {
"title": "Hello @name!",
"body": "Hey @name, you can check out our new stuff on the app"
} And then from the app side, I have to replace I know I can achieve this for foreground notifications by using Notifee. Still, I can't figure out how to do this for background/quit notifications that are handled automatically by Could you give me a clue as to how to implement this feature? Also, I was thinking maybe I should make the server to only send data notifications and handle everything by the app. But then I use the following packages in my app: {
"react": "18.2.0",
"react-native": "0.72.1",
"@react-native-firebase/app": "^18.3.2",
"@react-native-firebase/messaging": "^18.3.2"
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Notifee has a Notification Extension Helper feature that I believe you want to use in combination with a On Android you will likely have okay delivery performance with data-only notifications so can simply use data-only notifications then style+display notifications as normal via Notifee APIs |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the app. The suggested solution worked for me. |
Beta Was this translation helpful? Give feedback.
Notifee has a Notification Extension Helper feature that I believe you want to use in combination with a
notification
block on iOS since data-only messages are unreliable thereOn Android you will likely have okay delivery performance with data-only notifications so can simply use data-only notifications then style+display notifications as normal via Notifee APIs