Тёмный

Supabase Realtime (How to subscribe to real time changes in Flutterflow) 

rapidmvp
Подписаться 977
Просмотров 1,2 тыс.
50% 1

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/su...

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@MySynalex
@MySynalex 26 дней назад
Many Thanks! Can you please also post the method for unsubscribe from the subscribed realtime channel?
@delwarhussain8667
@delwarhussain8667 2 месяца назад
Hi. Really appreciate this nice tutorial. I have a question though. When users go to the chat page, the app reads from the database and displays the chat messages. Users are also getting the real-time messages while on the chat page. Is there a way you can cache the messages so that the chat page does not always have to keep fetching data from the database each time someone lands on the chat page, and only updates the chat page when: 1) on page load, there is a new message compared to cached data 2) while on chat page, there is an update to the chat messages. I believe you covered number 2 but it is possible to incorporate caching too? Thank you.
@JuanPerez-vv5lk
@JuanPerez-vv5lk 3 месяца назад
I like your tutorials but please improve your audio quality.
@rapidmvp
@rapidmvp 3 месяца назад
Thanks. I’m working on it. I think it’s improved a bit recently, but still trying to get the levels right.
@stivenramirez7597
@stivenramirez7597 3 месяца назад
I really like your videos thanks so much, is it possible to make a tutorial how to link supabase and stripe to manage subscriptions.
@rapidmvp
@rapidmvp 3 месяца назад
There is a video on the channel they does this with stripe payment links and foreign data wrappers in supabase
@onedayapp3534
@onedayapp3534 3 месяца назад
Great video as always! Do you know how to get push notification of the new message? (When you are outside the chat)
@rapidmvp
@rapidmvp 3 месяца назад
Push notifications are on the list and will sort soon.
@onedayapp3534
@onedayapp3534 3 месяца назад
@@rapidmvp that is great!
@jaguarconsultoriadigital8147
@jaguarconsultoriadigital8147 3 месяца назад
This action only updates once. Then, if you create new records, it does not update.
@onedayapp3534
@onedayapp3534 3 месяца назад
What do you mean exactly?
@rapidmvp
@rapidmvp 3 месяца назад
Apologies I missed explaining that one. I’ve put an update on the link that will listen continuously.
@atheer3343
@atheer3343 3 месяца назад
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.
@rapidmvp
@rapidmvp 3 месяца назад
The function that calls the vault probably needs to be a security defined. Permission denied so I’d check that first
@atheer3343
@atheer3343 3 месяца назад
@@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.
Далее
When Goalkeepers Get Bored 🤯 #3
00:27
Просмотров 1,5 млн
🎙Пою РЕТРО Песни💃
3:05:57
Просмотров 1,3 млн
Keeping API keys secure with Supabase vault
15:35
How to show live Firebase data in your Flutterflow app
27:20
Simple Search in FlutterFlow and Supabase
12:23
Просмотров 8 тыс.
How to use JSON data in Flutterflow
12:31
Просмотров 1 тыс.
04: Realtime Database Using Supabase
10:16
Просмотров 972