35
Views
3
Comments
Solved
[Cloud Messaging Plugin (Firebase)] [FirebaseCloudMessaging Plugin] SendNotificationToUsers action issue
cloud-messaging-plugin-firebase
Mobile icon
Forge asset by OutSystems
Service Studio Version
11.55.3 (Build 63884)

Hi everyone,

I'm currently facing an issue while sending notifications to multiple users simultaneously using the SendNotificationToUsers function in FirebaseCloudMessagingPlugin.

I'm unable to understand why the SendNotificationToUsers function works when sending to a single user (SendToUsers list length = 1), successfully delivering the notification to my device.

However, when I attempt to send notifications to multiple users (SendToUsers list length = 2), the SendNotificationToUsers function fails with the following error: "Unknown error while making a remote service call: Response status code does not indicate success: 404 (Not Found)".



I'm unsure about the root cause of this error. Could someone please assist me in resolving this issue?

2023-03-04 10-53-31
Phuong Nguyen Truc Dong
Solution

Hi André Caldeira,

I've found a solution. Just upgrade your FirebaseCloudMessaging Plugin to the latest version 


2019-05-20 14-36-54
André Caldeira

Were you able to find a fix for this? I am expirencing the same issue.

When i try to send notifications to multiple users it is not working, but if it is to a single user it is working

2023-03-04 10-53-31
Phuong Nguyen Truc Dong
Solution

Hi André Caldeira,

I've found a solution. Just upgrade your FirebaseCloudMessaging Plugin to the latest version 


2021-02-17 18-31-05
Alexandre Jacinto
Staff

Hi @Phuong Nguyen Truc Dong and @André Caldeira,

From out tests, the "SendNotificationToUsers" server action is working properly when passing multiple Text values (device tokens) in the "SendToUsers" parameter.

Are you still experiencing issues?

@André Caldeira in your case, can you show how you're passing the multiple tokens to the server action?

You can also open support case if you'd like our support team to help.

Best regards,

Alex Jacinto

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.