Supabase Realtime (How to subscribe to real time changes in Flutterflow)
Vložit
- čas přidán 21. 06. 2024
- Supabase Realtime allows us to stream real time database changes to our Flutterflow applications.
This functionality can be useful for a number of use cases such as chat apps, booking apps, live updates, sports scores etc. Any application you can think of that requires the data to be updated live from the database will benefit from Supabase Realtime.
The example we are using in the video is subscribing to INSERT operations for the messages table in a simple group chat application. The example in the video returns one update, however there are instructions on the link below to continue listening and updating.
The functionality isn't too difficult to get the hang of it and the code used in the video can be copied from the link below.
rapidmvp.co/supabase-realtime/
I really like your videos thanks so much, is it possible to make a tutorial how to link supabase and stripe to manage subscriptions.
There is a video on the channel they does this with stripe payment links and foreign data wrappers in supabase
I know not related to this video but was hoping you can help. I have a function that calls a function that calls an api. I set an rpc in FF but it throws an error “ permission denied for schema vault”, function works in sql editor but not through rpc. I made a different function that performs something different to the same api using the same code and it works in sql and through rpc. I can’t figure out why? Thank you in advance.
The function that calls the vault probably needs to be a security defined. Permission denied so I’d check that first
@@rapidmvp can you please make a video about this on how to operate Supabase with FF in a secure way. What type of security Definer and what search path is best to set up a function?. Thank you for the reply and the content.
This action only updates once.
Then, if you create new records, it does not update.
What do you mean exactly?
Apologies I missed explaining that one. I’ve put an update on the link that will listen continuously.
Great video as always! Do you know how to get push notification of the new message? (When you are outside the chat)
Push notifications are on the list and will sort soon.
@@rapidmvp that is great!
I like your tutorials but please improve your audio quality.
Thanks. I’m working on it. I think it’s improved a bit recently, but still trying to get the levels right.