Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Added Flutter guides for Realtime (#28192)

karloa86639e56b64
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 691b0f64d4a..719e502cd33 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -1328,6 +1328,14 @@ export const realtime: NavMenuConstant = {
name: 'Using Realtime with Next.js',
url: '/guides/realtime/realtime-with-nextjs',
},
+ {
+ name: 'Using Realtime Presence with Flutter',
+ url: '/guides/realtime/realtime-user-presence',
+ },
+ {
+ name: 'Listening to Postgres Changes with Flutter',
+ url: '/guides/realtime/realtime-listening-flutter',
+ },
],
},
{
diff --git a/apps/docs/content/guides/realtime/realtime-listening-flutter.mdx b/apps/docs/content/guides/realtime/realtime-listening-flutter.mdx
new file mode 100644
index 00000000000..cc7eb48b947
--- /dev/null
+++ b/apps/docs/content/guides/realtime/realtime-listening-flutter.mdx
@@ -0,0 +1,17 @@
+---
+id: 'realtime-listening-flutter'
+title: 'Listening to Postgres Changes with Flutter'
+description: 'Listening to real-time changes on the database with Flutter'
+sidebar_label: 'Videos'
+---
+
+The Postgres Changes extension listens for database changes and sends them to clients which enables you to receive database changes in real-time.
+
+<div className="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/gboTC2lcgzw?si=WBfCrZyqi9zDWS5n"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>
diff --git a/apps/docs/content/guides/realtime/realtime-user-presence.mdx b/apps/docs/content/guides/realtime/realtime-user-presence.mdx
new file mode 100644
index 00000000000..2c8fcdc213c
--- /dev/null
+++ b/apps/docs/content/guides/realtime/realtime-user-presence.mdx
@@ -0,0 +1,19 @@
+---
+id: 'realtime-user-presence'
+title: 'Using Realtime Presence with Flutter'
+description: 'Track online users with Supabase Realtime Presence'
+sidebar_label: 'Videos'
+---
+
+Use Supabase Presence to display the currently online users on your Flutter application.
+
+Displaying the list of currently online users is a common feature for real-time collaborative applications. Supabase Presence makes it easy to track users joining and leaving the session so that you can easily make a collaborative app.
+
+<div className="video-container">
+ <iframe
+ src="https://www.youtube-nocookie.com/embed/B2NZvZ2uLNs?si=2JmxGOFuwwUGaTxr"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+ ></iframe>
+</div>