send a notify to specific user

Hello, i am using react native and for the database i use supabase, i used supabase auth template to make users and accounts, every user have an id, i want a function in react that have 2 inputs one for the selected user id the second is for the text I want to send the notification for the selected user input the content will have the text input How can i do that?
1 Reply
bibamann
bibamann5mo ago
https://supabase.com/realtime - isn't this document somewhere? (I don't know supabase) - but websockets are the way to go.
Supabase
Realtime | Sync your data in real time
Listens to changes in a PostgreSQL Database and broadcasts them over WebSockets