[Messaging]firebase-admin is not able deliver Notification in Android Edge
Maintainer antworten meist innerhalb von 1 Tag
@chong-shao arbeitet bereits daran.
Seit 24.2.2025.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
[READ] Step 1: Are you in the right place?
Able to generate token but await this.app.messaging().sendEachForMulticast(message) is working all other browser but dont know only android Edge has the problem.
[REQUIRED] Step 2: Describe your environment
- Operating System version: _____ Mac OS
- Firebase SDK version: _____
- Firebase Product: _____ FCM
- Node.js version: _____16.0.0
- NPM version: _____
Device Information
[REQUIRED] Step 3: Describe the problem
In Android Chrome, I can successfully send notifications, but in Android Edge, notifications are not working. The sendEachForMulticast(message) method is returning success
Steps to reproduce:
Send the notification either through the Firebase Console or by using messaging.sendEachForMulticast(message)
Relevant Code:
import admin from 'firebase-admin'
admin.initializeApp({
credential: admin.credential.applicationDefault(),
});
// This registration token comes from the client FCM SDKs.
const edge = "dHoMX5A_-....................fSbpmNzTKYzjtjq6TaUaesUgnAfA0"
const chrome = "fGU9Zu8k7xFt.....................................vyEo-uKqQ7lUhQfjWQt2J1E"
const registrationToken = edge;
const message = {
data: {
score: '850',
time: '2:45'
},
notification: {
title: "I am title",
body: "I am Body",
},
tokens: [registrationToken]
};
const messaging = admin.messaging();
messaging.sendEachForMulticast(message)
.then((response) => {
console.log('Successfully sent message:', response);
})
.catch((error) => {
console.log('Error sending message:', error);
});
// TODO(you): code here to reproduce the problem
No Notification and no console error in Android Edge
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.7k
- Forks
- 419
- Ø Merge
- 4 T. 20 Std.
- Gemergte PRs (30 T.)
- 16
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus firebase/firebase-admin-node
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
firebase/firebase-admin-node#3234 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[email protected] stable dependency tree fails npm audit via Storage uuid and Firestore google-gaxEvtl. vergeben @lahirumaramba hat das vor 19 Tagen übernommen. Offen
firebase/firebase-admin-node#3221 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
api: messaging
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 70/100
firebase/firebase-admin-node#3215 ·
Maintainer antworten meist innerhalb von 1 Tag
-
api: messaging
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 28/100
firebase/firebase-admin-node#3214 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Firestore] Re-export functions from '@google-cloud/firestore/pipelines'Evtl. wieder frei @jonathanedey hat das vor 89 Tagen übernommen, und es ist kein Pull Request offen. Offenapi: firestore type: feature request
firebase/firebase-admin-node#3183 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in firebase/firebase-admin-node
Ähnliche Issues
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
StabilityNexus/Fate-EVM-Frontend#153 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
code-yeongyu/oh-my-openagent#9039 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Tencent/teamai-cli#862 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue hacktoberfest redis
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
libredb/libredb-studio#1164 ·
Maintainer antworten meist innerhalb von 1 Tag
-
flake
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
coder/xum#4920 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag