[Firebase Mobile] Send notification to a user with different UserId

Forge Component
Published on 6 Jan by David Sousa
19 votes
Published on 6 Jan by David Sousa

Hi everyone, i already followed a tutorial from this video: https://youtu.be/ygbu3AITS4k

it worked, the notifications are successfully sent. but it only works with the same account, so the web app and the mobile app are signed in with an exact same account from Outsystems user.

meanwhile i want to send the notification from different users (let's just say an admin) from the web app portal. is that possible? do you guys have any reference?


Hi Aditya,

You just need to change the value of the UserId input parameter of the SendNotificationToUser server action (on the web app).

Hope this helps!