[Messaging]firebase-admin is not able deliver Notification in Android Edge
メンテナーはふだん 7 日以内に返信
@chong-shao がすでに取り組んでいます。
2025年2月24日 から。
評価
この issue はまだ評価されていません。
説明
[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
- 主要言語
- TypeScript
- スター
- 1.7k
- フォーク
- 419
- 平均マージ
- 5日 6時間
- マージ済み PR(30日)
- 11
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/firebase-admin-node のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
firebase/firebase-admin-node#3234 ·
メンテナーはふだん 7 日以内に返信
-
[email protected] stable dependency tree fails npm audit via Storage uuid and Firestore google-gax対応中かも @lahirumaramba が 19 日前に担当しました。 オープン
firebase/firebase-admin-node#3221 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 7 日以内に返信
-
api: messaging
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
firebase/firebase-admin-node#3215 ·
メンテナーはふだん 7 日以内に返信
-
api: messaging
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
firebase/firebase-admin-node#3214 ·
メンテナーはふだん 7 日以内に返信
-
[Firestore] Re-export functions from '@google-cloud/firestore/pipelines'再び着手できるかも @jonathanedey が 89 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンapi: firestore type: feature request
firebase/firebase-admin-node#3183 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 7 日以内に返信
firebase/firebase-admin-node の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/vscode-livepreview#876 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
JustJarethB/invoicer#54 ·
-
ICP 1.2.0 shows a scheduled task's interval in milliseconds under the label "Interval (In seconds)"オープンNeeds Triage Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wso2/product-integrator#2585 ·
メンテナーはふだん 1 日以内に返信
-
check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
design
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MTES-MCT/monitor-field#119 ·
メンテナーはふだん 1 日以内に返信