Questions tagged [firebase-cloud-messaging]

-1 votes
0 replies
approx every 15 days XMPP connection to Firebase Cloud Messaging (FCM) is closed, what is the correct way to reconnect?
why i receive negative votes? FCM server are disconnecting and i dont know why and i try reconnect but again it is disconnected i would want a e...
0 votes
1 replies
firebase_messaging how to clear notification?
I'm using firebase_messaging When notification comes, I'm displaying alert dialog. Below are my code. showNotification(BuildContext context) {...
0 votes
0 replies
canceling firebase notification
Did anyone know how to cancel the notification if the client didn't receive it? Is it possible to cancel sent push notifications? does time_to_li...
asked 1 month ago
0 votes
0 replies
Why my onMessageReceived in FirebaseMessagingService do not run
I'm trying to create an App receive Notification form Firebase Cloud Messaging. But it is not working: Seemly the onMessageReceived don't run, i...
0 votes
0 replies
Android FCM: Call API in the background when app receives notification
Is it possible if an app (foreground/background/killed) receives a push notification (need to have a message to display), it can call an API in t...
-1 votes
0 replies
My firebase notifications are not been received with firebase cloud messaging
I use firebase database to change the text inside a dialog box inside my app, and it works perfectly, so my app is correctly connected to firebas...
0 votes
0 replies
Firebase Cloud Messaging CORS issues
Current setup: Vue.JS PWA app with a service worker built for production and running on my local machine (localhost). What works: I can get a...
0 votes
0 replies
Handling of browser token to push the notification to angular pwa
I am building a PWA in angular. I want to push notifications to my application. I tried sending the notification using the web-push module. And...
0 votes
1 replies
Firebase Cloud Functions get data on real time database onCreate
const functions = require('firebase-functions'); const admin = require('firebase-admin'); admin.initializeApp(); exports.sendNotification = func...
0 votes
2 replies
How to troubleshoot Android not displaying Firebase push notifications, despite device registered and API showing success
I have a React Native app that uses https://github.com/zo0r/react-native-push-notification to manage push notifications. Attempting to migrate fr...
0 votes
1 replies
Silently handle firebase data notification by app only
In my flutter android app i want firebase data notification only to be handled by app silently. If app is running it will handle data otherwise n...
asked 1 month ago
0 votes
0 replies
Application crashes when sending notification on foreground
When I send a notification message with data payload on foreground, my application crashes. It works fine when it is in background or killed stat...
0 votes
1 replies
Need help in writing a cloud function for sending notification to particular users [closed]
I have my firestore structure like this: Restaurant //Collection (C) RestID // Document (D) Orders // C OrderID document with order deta...
0 votes
0 replies
How to send mute (sound) notification from the FirebaseAdmin SDK for .NET
I am using the official FirebaseAdmin sdk for .NET. is this possible at all to send mute the push notification sound using this lib? How can I do...
0 votes
0 replies
Title and body of notification only appears when app is not opened on oreo?
I've tried Android Push Notification using FCM on Oreo, what I got is when app doesn't running, the Notification is appeared on Notification Bar...
1 votes
0 replies
Notification in testflight received but not working
I'm using testflight for betatesting my app and Firebase messaging to sends notifications. When a notification sent, the user with the specified...
1 votes
2 replies
Does firebase provide any form of test tokens?
I'm currently doing server side development for firebase. I'd like to test that my sendMessage function is working by targeting a test token. I...
-2 votes
1 replies
Does firebase ever recycle tokens?
I have an app which is receiving a token from firebase. From what I understand, the next step would be to assign that token to a user in my data...
0 votes
1 replies
Capacitor doesn't recive android specific push-notifications
I try to implement push-notifications to my Ionic4-Capacitor-App. In the app I have this code: PushNotifications.register(); PushNotifications....
0 votes
1 replies
When FCM refreshes a reg token, will the old one still work for a period of time without errors?
At https://firebase.google.com/docs/cloud-messaging/send-message#admin_sdk_error_reference, it says we will get a registration-token-not-register...
0 votes
1 replies
How to fix sound related problem in Push notification using FCM
I want to implement push notification in an iOS device using FCM. I have followed full document of firebase but when my application is in the bac...
asked 1 month ago
0 votes
0 replies
flutter - firebase messaging not showing in mobile phone
I try to setup push notification to my mobile apps using flutter firebase messaging. I have doing below things : Setup firebase Download googl...
0 votes
0 replies
FCM not showed image (not icon) in background
This is my code for send push It's working BUT not showing the image in the background. Note: I am working with WEB push and not android or ios....
0 votes
0 replies
Is there any way to enable all Notification(Firebase Push Notification) by default when user install the application in android?
Some of my application's device get the notification fine, but in some device like Oppo it disable the app notification by default. So how can en...
1 votes
1 replies
C# Firebase Cloud Message send multiple Web JS notifications using Topic messaging
I'm trying to send multiple web notifications using topic instead of looping send notification to each token. But I stuck at sending notificati...