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

Sdílet
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/

Komentáře • 15

  • @stivenramirez7597
    @stivenramirez7597 Před 17 dny +1

    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  Před 17 dny

      There is a video on the channel they does this with stripe payment links and foreign data wrappers in supabase

  • @atheer3343
    @atheer3343 Před 16 dny

    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  Před 16 dny

      The function that calls the vault probably needs to be a security defined. Permission denied so I’d check that first

    • @atheer3343
      @atheer3343 Před 15 dny

      @@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.

  • @jaguarconsultoriadigital8147

    This action only updates once.
    Then, if you create new records, it does not update.

    • @onedayapp3534
      @onedayapp3534 Před 17 dny

      What do you mean exactly?

    • @rapidmvp
      @rapidmvp  Před 17 dny +1

      Apologies I missed explaining that one. I’ve put an update on the link that will listen continuously.

  • @onedayapp3534
    @onedayapp3534 Před 17 dny +1

    Great video as always! Do you know how to get push notification of the new message? (When you are outside the chat)

    • @rapidmvp
      @rapidmvp  Před 17 dny +1

      Push notifications are on the list and will sort soon.

    • @onedayapp3534
      @onedayapp3534 Před 17 dny

      @@rapidmvp that is great!

  • @JuanPerez-vv5lk
    @JuanPerez-vv5lk Před 17 dny

    I like your tutorials but please improve your audio quality.

    • @rapidmvp
      @rapidmvp  Před 17 dny

      Thanks. I’m working on it. I think it’s improved a bit recently, but still trying to get the levels right.