This question already has answers here:
Is there a way to delete push notification data message sent by FCM?
(2 answers)
is there a way to remove or recall a push notification sent by fcm
(1 answer)
How to Delete already sent Remote push notification with firebase in iOS?
(3 answers)
Closed 4 months ago.
We are using firebase in a web project where have .net as our backend, and we send push notifications using firebase cloud messaging to our users' android and IOS devices.
When sending notifications to firebase and the user device is offline, the notifications can't be delivered and the notification status will be pending according to firebase documentation.
I want to know if there is a way we can cancel these pending notifications and stop them midway to the user's devices.
Related
This question already has answers here:
How to send device to device messages using Firebase Cloud Messaging?
(14 answers)
Closed 4 years ago.
How do I send notification from an android device to another device through firebase cloud messaging?
I do not want to use the administrative panel of firebase for sending notifications, I just want to send from one device to the other.
FCM doesn't provide device to device communication, you will have to achieve through App Server or use FCM endpoint to send messages.
Do you have App Server implemented? which sends notification through FCM.
Approach 1:
If App Server is there then you can follow: https://firebase.google.com/docs/cloud-messaging/android/upstream and add logic in App Server to send notification.
Approach 2:
You could use Firebase Remote Config to share FCM server keys, and make Http request from android client.
This question already has answers here:
Firebase notification records/log API
(2 answers)
Closed 4 years ago.
Is it possible to track push notification from firebase console which is send from server-side or Rest client.
See duplicate post.
No. Currently, only messages sent through the Firebase Notifications Console are visible in the console. Messages sent through the API could be tracked in the Diagnostics Tool, keeping in mind that this doesn't include messages sent to topics.
This question already has answers here:
FCM Schedule delivery date or time of push notification
(2 answers)
Closed 6 years ago.
I'm integrating push notifications in an app I'm developing. I have chosen to use Firebase Cloud Messaging (FCM) to support both Android and iOS.
When using the console to send a push message I see there is an option to delay the actual sending of the push notification. However when checking the HTTP docs I can't seem to find this option.
How would I schedule a notification so it is send at a later time using FCM and the HTTP API?
Unfortunately, as of the moment, there is no API or even a parameter that you can use in order to schedule a notification.
It can only be done either (as you already know) in the Firebase Console or implementing a delay until the schedule in your own App Server.
This question already has answers here:
How to send device to device messages using Firebase Cloud Messaging?
(14 answers)
Closed 6 years ago.
I am developing a chat app using firebase real-time database. I am able to exchange messages but i want to have a message alert notification for new messages.
Sending notifications using firebase console is working but now i want to automate it without firebase console.
Do i need to create my own app server for push notification between android clients? Or is there another way to achieve this instead of creating a server?
Thank you
Firebase realtime database is very useful precisely for its "realtime" aspect.
You could create a Service that listens for changes in the database and create a Notification whenever the client receives a new message.
This question already has answers here:
Firebase chat Push Notifications
(4 answers)
Closed 6 years ago.
Since the new release of Firebase you are able to send push notifications from the console to specified clients with Firebase Notifications. But for a chat app I need Firebase to watch a node for new children and send the push notifications to those clients.
Is Firebase capable of this and if yes what is the best way to do this?
With Firebase client sdk you can register listeners for node events on the client side. Then Firebase will do the magic to notify the client on node events.