Is it possible to implement notification grouping/bundling using FCM in ionic? - firebase

I'm sending notifications to users with FCM (firebase cloud messaging) using firebase functions.
If a notificatoin sent while there is already old notification in the device I want to group those notifications like SetGroup does.
Is it possible?

Related

Firebase Cloud Messaging notification permission?

I have a web application and I want to send notification via fcm. But not with this browser push notifications. I will list it in the app. How can I do this without having to allow notifications in the user's browser?

How to send push notification with firebase to ionic app with custom ID?

I am using FCM to send push notifications to Ionic capacitor app and it works perfectly when I am sending notification to all users(I am using this example).
Is it possible to provide a list of users(with custom IDs) to firebase to send notifications? I guess than App should send custom ID or property to Firebase and then receive push notification if that ID is in the list.

Show notification based on a Firebase values

I want to show notification in my app even if the app is closed.. I don't need Firebase's Push Notification Service. The idea is similar to WhatsApp's message notification service.
When a value is added to firebase by a user another user should receive notification that there is a value change
Can someone tell me how this is done and What should I use to achieve this?
Push notifications for all major apps run through APNS for iOS, and Firebase Cloud Messaging for Android. While the apps may use a higher-level service from their application code, those services depend on APNS and FCM for the actual message delivery.
To see an example of how to build a notification system on top of this, based on values being written to a database, see Send Firebase Cloud Messaging notifications for new followers.

Group Android notifications in Firebase Cloud Messaging using Cloud Functions

I have a Cloud Function that send notifications to iOS/Android devices through Firebase Cloud Messaging.
We can group notifications for iOS devices by specifying thread-id in the FCM notification payload. How could I do the same for Android devices?
As per link below we can use .setGroup(GROUP_KEY) in Java/Kotlin for FCM but there is not an option/field for the notification payload to specify a group in the FCM HTTP API.
https://developer.android.com/training/notify-user/group

Push notifications through cloud messaging

How can I perform a cloud function that is responsible for sending push notifications to mobile devices (Android or ios) previously registered from an app and that previously saved the messaging key on the server? The idea is that when there is modification of a child in the realtime a push notification is sent to the user. Thank you

Resources