Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
1 vote
1 answer
46 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 ...
rupinderjeet's user avatar
  • 2,868
1 vote
0 answers
28 views

How to handle payload message click

How to handle notification payload. My app is that when killing the app, you always have to log in again. When receiving notification -> click on notification -> route to logIn screen -> ...
LamVu's user avatar
  • 1
2 votes
1 answer
37 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 ...
Mattia Antonacci's user avatar
0 votes
1 answer
35 views

HTML text colors not showing correctly in Notifee notifications on Android dark mode (Expo)

I'm using Notifee with React Native Firebase Cloud Messaging (FCM) to display styled notifications that include HTML tags such as <b>, <i>, and <font color='green'>. In light mode, ...
Japjyot Suri's user avatar
1 vote
1 answer
100 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 ...
grand_learner's user avatar
2 votes
0 answers
53 views

Permission 'cloudmessaging.messages.create' denied on resource '//cloudresourcemanager.googleapis.com/projects/xxxxx' (or it may not exist)

I'm encountering a permission error when calling the Firebase Cloud Messaging (FCM) API for notifications. While the API retrieves details and generates a Firebase token successfully, the response ...
naseeba c's user avatar
  • 1,060
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 ...
Notion's user avatar
  • 56
1 vote
0 answers
101 views

FIS_AUTH_ERROR when retrieving FCM token from FirebaseMessaging

I have an app which receives pushes to device. Some devices receive pushes well. Some has a problem with getting FirebaseMessaging token. In both situations Firebase initialization goes well. I tried ...
rstrelba's user avatar
  • 1,984
0 votes
0 answers
46 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": { &...
azdev's user avatar
  • 1
1 vote
3 answers
616 views

Flutter Firebase error in release mode: PlatformException channel-error, Unable to establish connection on channel

I'm working on a Flutter app using firebase_core, and everything runs fine in debug mode, but in release mode, I keep getting the following error on startup in android: > PlatformException(channel-...
Muhammad Umair's user avatar
1 vote
1 answer
110 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 (...
Gopal Rao's user avatar
0 votes
0 answers
247 views

Firebase Push Notification Not Working, APNs token is null on iOS

Flutter Environment Flutter Version: 3.29.3 (stable) Dart Version: 3.7.2 Xcode Version: 26.0.1 CocoaPods Version: 1.16.2 Firebase Packages firebase_core: ^4.1.1 firebase_messaging: ^16.0.2 Device /...
Ragul PR's user avatar
  • 422
1 vote
0 answers
57 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 ...
susu_papa's user avatar
7 votes
1 answer
1k views

Flutter Firebase Messaging iOS Error: [firebase_messaging/apns-token-not-set] APNS token has not been set after Xcode update [closed]

After updating my development environment to Xcode 26.0 and running on the iOS 16e 26.00 simulator, my Flutter app started throwing the following error when using Firebase Messaging for push ...
Sulav Gautam's user avatar
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 ...
Oliver Zhu's user avatar
0 votes
0 answers
77 views

Firebase Cloud Messaging (FCM) notifications delayed or not delivered (up to 1 hour delay)

We are facing a critical issue with Firebase Cloud Messaging (FCM) in our Flutter application. Problem: Our application receives around 25,000 notifications per day. On average, each device receives ...
wahab sohail's user avatar
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 ...
Eden Corporation's user avatar
0 votes
0 answers
92 views

Image not showing in iOS push notification using Notification Service Extension in React Native with Firebase

I'm working on a React Native project where I’ve implemented a Notification Service Extension (NSE) to display rich push notifications with images on iOS. I'm using Firebase Cloud Messaging (FCM) to ...
Prem's user avatar
  • 11
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 ...
Biel Bonany Gil's user avatar
2 votes
1 answer
75 views

How to get ios active notification payload in flutter?

I am expecting that when I call get .payload from activeNotifications[0] on ios would return payload field in apns from fcm server. apns: { // This field payload: { aps: { alert: { ...
flutroid's user avatar
  • 1,438
0 votes
0 answers
97 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 ...
Gerrit's user avatar
  • 59
0 votes
0 answers
38 views

FCM notification not going to iPhone but working previously

First was using an Individual Apple Dev Account for development now in production using an Organization account. The key details was updated in firebase accordingly, but notification was going ...
NACHIKETA CHAKRABORTY's user avatar
0 votes
0 answers
78 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 (/...
Simon Ferndriger's user avatar
0 votes
0 answers
49 views

Flutter FCM IOS notification sound doesn't play on terminate app state

after reading thousands documentation and conversations with AI agent I found myself in here like old days. I'am trying to get notification using FCM in IOS. First of all; I had done all platform ...
Tolga Yılmaz's user avatar
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 ...
Hans GD's user avatar
  • 94
1 vote
1 answer
57 views

Flutter Firebase notification does not trigger onMessageOpenedApp

I'm implementing code for notification navigation after user press on notification. Below is my code. FirebaseMessaging.instance .getInitialMessage() .then((RemoteMessage? message) { ...
MiselMoj's user avatar
0 votes
1 answer
133 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 ...
Nerdy Bunz's user avatar
  • 7,733
0 votes
0 answers
31 views

How to reliably listen to notifications in Android (without NotificationListenerService issues on MIUI devices)?

I'm working on an Android app where I rely on Google Calendar webhook notifications to sync calendar events. To listen to these incoming notifications, I'm currently using a ...
Bhavik Maradiya's user avatar
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/...
Mery Karapetyan's user avatar
0 votes
1 answer
51 views

Can I safely remove the notification permission added by FCM if I'm only using data delivery?

I'm using Firebase Cloud Messaging's topic system to update a widget provided by my app, using data messages. I'm never using it to deliver visible notifications. FCM seems to merge a android....
anon's user avatar
  • 697
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/...
Hoang Minh's user avatar
0 votes
0 answers
43 views

Service worker 'notificationclick' event not firing on notification click (Firebase FCM)

I am trying to implement push notifications for web.I have succesfully managed to display background notification. But on clicking it, the notification does not open the window or link I want.Rather, ...
Nipun Sharma's user avatar
1 vote
1 answer
57 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('...
Moblize IT's user avatar
  • 1,340
1 vote
0 answers
28 views

Cloud Messaging - Will new key prevent existing app from receiving notifications?

I have an existing published app on Play Store and App Store. The app writes the device token to a Firestore database. A Cloud Function picks up the token and sends a push notification message to the ...
Luke's user avatar
  • 1,769
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(...
tanson chan's user avatar
1 vote
0 answers
146 views

Permission 'cloudmessaging.messages.create' denied on resource '//cloudresourcemanager.googleapis.com/projects/'

When I run the following simple push notification sending code. import firebase_admin from firebase_admin import credentials, messaging cred = credentials.Certificate("/xxx/demo.json") ...
Cheok Yan Cheng's user avatar
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 ...
Amisha Chauhan's user avatar
0 votes
1 answer
50 views

Does copying fcmToken from one document to another document causes an error of SenderId Mismatch?

I have been working on an application whose frontend is in react-native (using expo) and backend is in express js. Now during the testing the frontend guy generates the FCM token and then send me to ...
Haider Ali's user avatar
0 votes
0 answers
124 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 ...
RP89's user avatar
  • 133
1 vote
0 answers
67 views

How to sync app data with server at any time

I am building a chat section in my app. Chat itself uses a websocket to send and receive data like new messages, actions like add/remove participant from a chat and basically anything. A strength ...
OKKO's user avatar
  • 609
0 votes
0 answers
517 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 ...
MiselMoj's user avatar
0 votes
0 answers
40 views

Firebase Admin SDK (Python) gets HTTP 404 Error on send_multicast [duplicate]

I am trying to send FCM push notifications from a local Python script using the Firebase Admin SDK. My goal is to fetch FCM tokens from a Firestore collection (admins) and send a simple push ...
Khoirul Anam's user avatar
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 ...
user30785393's user avatar
0 votes
0 answers
45 views

Custom notification sound is not applied when the app is killed in react native push notification

Im working on React native project I need to play custom sound when a push notification occurs on foreground , background or even the app is killed For Android Application
Athul Krishnan's user avatar
1 vote
1 answer
104 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, ...
Robert Smith's user avatar
0 votes
0 answers
28 views

How do I get the bearer token for sending a FCM message through a POST request in C#?

I am trying to send an FCM message through my .net API. I was originally trying to use FirebaseAdmin sdk, but was unsuccessful. I have been able to get it to work using a POST request. However, I am ...
Robert Smith's user avatar
0 votes
2 answers
215 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 ...
DominikReber's user avatar
1 vote
1 answer
75 views

FCM: I don't understand "An application instance cannot be subscribed to more than 2000 topics."

I'm implementing notifications with Firebase Cloud Messaging (FCM) using NodeJs on the server of the company where I work using "firebase-admin" and @react-native-firebase/messaging at Expo. ...
Ivan Rojas's user avatar
1 vote
0 answers
171 views

How do I send an FCM notification from a backend when the Flutter app is terminated?

I'm working on a Flutter app that uses Firebase for notifications. Right now, the notifications work fine when the Flutter app is in the background. However, when I close the app, the notification ...
tdor's user avatar
  • 11
1 vote
1 answer
144 views

AppDelegate Firebase Push Notification problem after migrating to Swift 6

This is my AppDeligate: import Firebase import FirebaseCore import FirebaseMessaging import UserNotifications import SwiftUI class AppDelegate: NSObject, UIApplicationDelegate, ...
TheGreatCornholio's user avatar

1
2 3 4 5
276