-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
messaging/unknown-error when using sendEachForMulticast #2687
Comments
I found a few problems with this issue:
|
Sorry, my fault. I still used |
hi what should we use instead? |
sendEachForMulticast |
Hi Team, Issue : Platform : Android and IOS Sample node code :
The error message is random and either one of them
|
Same Issue |
Use sendEachForMulticast instead of sendMulticast that is now deprecated. See firebase/firebase-admin-node#2687
Where is it stated that sendEach is deprecated? https://firebase.google.com/docs/reference/admin/node/firebase-admin.messaging.messaging#messagingsendeach Its still in the docu. Thanks for the answer I couldnt find out whats wrong since they secretely changed the method and the error response is misleading, also tests are misleading because for some of the requests they let it go through while randomly others get refused!:D |
same issue Platform : Android and IOS use fn : sendAll() Sometimes attempts with the same token will fail and sometimes they will succeed. [ERROR]
|
try |
nice!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
Thanks u really save my day 😄 !! |
const response = await admin.messaging().sendEachForMulticast(messageSend); // Use sendMulticast |
Any Error Response ? |
Thanks a lot. |
Push notifications are not being delivered in the Android Edge browser when using: |
firebase-admin
12.3.0 (but also previous versions)I have a project that send notification messages to Android and IoS. We use
sendEachForMulticast
method. It worked fine for several months. But recently we started to receive the following error:We create the messages, using the
MulticastMessage
type, with the following structure:Any ideas of what can be the problem? It could be related to https://firebase.google.com/docs/cloud-messaging/migrate-v1?authuser=0&hl=en ?
The text was updated successfully, but these errors were encountered: