33
Views
1
Comments
[Cloud Messaging Plugin (Firebase)] SendNotificationToUsers method SendToUsers - What to put in this field
cloud-messaging-plugin-firebase
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Hi, 

Tried to use this for the update from google, to use v1 API, 

for the serverAction SendNotificationToUsers,

it has SendToUsers field which "Sets a list of users that will receive notifications. If empty, they'll be sent to all users of the set platform."

What should we put here if we want to send to specific user?


Regards, 

Ari

2021-06-24 18-24-34
Humberto Chamorro Torres

Hi!

You need to pass the tokens of the devices to which you want to send the notification. The token is the one given by Firebase when calling the client action 'GetToken'.


Cheers,

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