13,772 questions
0
votes
0
answers
7
views
Push Notifications not working in my Vite + React + Spring Boot project (WebSockets, VAPID, AWS SNS, FCM all attempted)
I am trying to implement web push notifications in my project, but none of the approaches I tried are working. I’m not sure whether the issue is on the frontend, backend, service worker, or the push ...
1
vote
0
answers
64
views
Is it normal for Flutter's main() function to execute as soon as a firebase notification is received in system notifications bar?
is it normal for Flutter's main() function to execute as soon as a firebase notification is received in system notifications bar?
I am testing on Android 15 in a Pixel device.
Here's what I did:
I ...
2
votes
1
answer
43
views
How can I achieve instant push notifications to thousands of devices?
I’ve built an app for my clients, and it’s crucial that its notifications are delivered very quickly. During testing, when there were about 5 of us, notifications were instant. But as our user base ...
1
vote
1
answer
113
views
Unresolved reference: FirebaseMessagingService even after adding firebase-messaging dependency in Flutter Android module
I have an app that I want to add Firebase Cloud Messaging. Now, when configuring the services, I am getting this error in my Kotlin file:
Cannot resolve symbol 'FirebaseMessagingService'
When I try ...
0
votes
0
answers
31
views
Generating token for Firebase Cloud Messaging
I am trying to generate a FCM token but it fails on Chrome, the below is the code I have which is hanging all the time and never executes, it gives up after doing retries for few times and then does ...
0
votes
0
answers
47
views
Ghost pushing in flutter app with push notifications
I created a flutter app with push notifications enabled, and I'm using firebase FCM HTTP v1 API to send push notifications to my device. Here's my FCM API POST payload.
{
"message": {
&...
1
vote
1
answer
116
views
React Native iOS: Push Notification Listeners Not Triggering Despite Notifications Being Received
I am building a React Native (Bare Workflow) application using @react-native-firebase/messaging.
The core issue is that while iOS system push notifications are being received and displayed correctly (...
1
vote
0
answers
60
views
How to show avatar + app icon together in Android Notifee MessagingStyle notifications?
I’m implementing push notifications on Android using Notifee in a React Native project.
What I want is a MessagingStyle notification that looks like a messenger app or Slack: an avatar icon with the ...
0
votes
0
answers
53
views
BigQuery shows only MESSAGE_ACCEPTED (no MESSAGE_DELIVERED) for Admin SDK–sent iOS notifications
We use the Firebase Admin Java SDK to send push notifications to iOS devices.
Messages appear in the BigQuery firebase_messaging export with message_status = MESSAGE_ACCEPTED, but never progress to ...
0
votes
0
answers
17
views
Firebase Cloud Messaging only delivers self-push notifications, not cross-device pushes in Flutter [duplicate]
I’m building a Flutter app with Firebase (Firestore + FCM). Each user has an up-to-date FCM token stored in Firestore. I have verified that tokens are valid, and I can send push notifications ...
1
vote
0
answers
57
views
Firebase Cloud Function 2nd Gen fail
I have an environment with Node.js in which I run some cloud functions from Firebase. I wanted to try to migrate them to V2, starting with the simplest of them. After changing a couple of lines of ...
0
votes
0
answers
98
views
PWA Android & iOS look of push notification
I have implemented push notifications for my PWA with Firebase and a service worker. Only problem I am currently having is the look of the push notifications on both my Android and iPhone.
This is ...
0
votes
0
answers
82
views
How to load firebase service worker with different configurations (test/prod)
Depending on the environment, I have two different configurations I would like to use (test and prod). Unfortunately, firebase only works with the one service worker in the domain root folder (/...
0
votes
0
answers
46
views
Error loading dynamic module, but only in my computer
I have a React project that is developed in two branches A and B. The origin of any of them goes way back. Branch A and B worked fine in my computer (development computer). At some point, branch B ...
0
votes
1
answer
136
views
How to choose the correct Firebase JS SDK version for firebase-messaging-sw.js in a Flutter Web app?
I have a Flutter/Firebase web app where I am trying to add firebase cloud messaging (notifications).
Part of this setup is to create a service worker file "firebase-messaging-sw.js", with ...
0
votes
0
answers
48
views
Firebase notification ignores some colors set from AndroidManifest
In AndriodManifest.xml I have the following:
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/...
0
votes
0
answers
65
views
Firebase cloud message gettoken not work on Edge newest version
I using firebase cloud message.
It just work perfect on Chrome but not work on Edge with same code.
Here is the code:
import {
initializeApp
} from 'https://www.gstatic.com/firebasejs/11.10.0/...
1
vote
1
answer
60
views
firebase function fails to send push notification with socket disconnect
i am trying to send push notification like below:
const { getFirestore } = require('firebase-admin/firestore');
const { initializeApp } = require('firebase-admin/app');
const { https } = require('...
0
votes
0
answers
47
views
flutter push notification onclick function not work
I am developing a flutter app with push notification by firebase and i developing in my Iphone. The notification function is working, but i want to add a redirect function(redirect to special page(...
0
votes
0
answers
76
views
Invariant Violation: new NativeEventEmitter() requires a non-null argument in React Native
I'm working on a React Native project and encountering the following error:
Invariant Violation: new NativeEventEmitter() requires a non-null argument.
This occurs when I try to initialise Firebase ...
0
votes
0
answers
125
views
Firebase push notification not receiving in Testflight build for iOS
In my application, Firebase push notifications are not being received in the TestFlight version of the app, although they work correctly in the debug build. Here are my findings:
When automatic ...
0
votes
0
answers
522
views
Flutter iOS app does not receive notifications
I'm trying to include into our project firebase push notifications. I'm developing android on windows machine and IOS on mac machine.
I have configure project on windows machine with "flutterfire ...
0
votes
0
answers
72
views
Since I integrated my Firebase project, fireBaseMessaging, into my React Native project, I can no longer compile on iOS. I am seeing many errors
I configured my Profile and Xcode as I can, but still errors. I killed all simulators and tried again, nothing. I reinstalled the dependencies correctly, I checked if the versions, Xcode, React-Native ...
1
vote
1
answer
105
views
Firebase Admin SDK not sending message in .NET API
I am currently stuck using FirebaseAdmin SDK version 2.3. I have this code in my .NET API to send out an FCM Message.
private void FirebaseMessagingAsync(List<int> send_user_ids, string title, ...
0
votes
2
answers
218
views
FCM Send push Message results all of a sudden into "No key or keyFile set"
Since a few years, I am using the following code to get an Access Token to be able to send Push Messages to my device.
All of a sudden, i get the error message "No key or keyFile set".
I ...