28 questions
0
votes
0
answers
36
views
Flutter Windows Supabase stream fails silently on client
I've built a Flutter desktop application for Windows (flutter build windows) that uses the supabase_flutter package. The application can successfully perform database operations like insert. However, ...
0
votes
0
answers
37
views
Can Supabase Realtime handle OR conditions in onPostgresChanges filters?
In our Flutter app, we're currently using two separate Realtime subscriptions to the same chats table, one for each possible user match field:
Future<void> subscribeToAllChats(
String userId,
...
0
votes
0
answers
61
views
supabase realtime inspector prints error message in every few seconds
I'm building a simple chatting feature with Supabase Realtime on Next.js project.
When a user's client mounts the chatting component it subscribes to the channel.
useEffect(() => {
if (!...
0
votes
0
answers
179
views
Supabase Issue: HTTP schema does not exist
I am trying to send confirmation email whenever user logged in for the first time, record its email to the table user_approvals table under public schema. so when i change the value of is_approved (...
1
vote
1
answer
486
views
Supabase Realtime subscription not working with custom JWT and RLS in Next.js + NextAuth setup
I'm building a website using Next.js, NextAuth, and Supabase. I'm not using Supabase's built-in auth — instead, I manage a custom users table and generate custom JWTs using NextAuth during sign-in.
In ...
1
vote
1
answer
387
views
Supabase /auth/v1/token Being Flooded with Requests
I’m experiencing an unusual issue with my Supabase project where my logs show an excessive number of requests to the /auth/v1/token?grant_type=refresh_token endpoint, even when my website is not ...
1
vote
0
answers
101
views
Supabase - RealtimePostgresChange - issue
I have inherited the following code and unfortunately after 5 days of debugging I have not made much progress and I would be forever grateful if anybody could debug it for me, I am totally at a loss ...
1
vote
1
answer
250
views
Supabase realtime Payload is empty
I am currently working on integrating Supabase Realtime into my application to listen for changes in my PostgreSQL database. However, I am encountering an issue where the Payload in the ...
1
vote
1
answer
340
views
Using the row item from Supabase backend query in FlutterFlow generates error
I'm trying to build an app on Flutterflow using a Supabase Realtime table.
This is not the final app, I was just trying the realtime feature with the timer, which is mandatory for the final app.
I ...
0
votes
0
answers
280
views
Trouble connecting Flutter app to realtime subscription on Supabase
I am working on a project that utilizes flutter and supabase for my backend. I am wanting to create a subscription to listen to realtime events. I've read all the supasebase docs and thought I ...
0
votes
1
answer
757
views
Supabase terminating connection and not able to load schema
I am currently working on a project and using nextjs, postgres+ prisma.
I used Supabase to create databse and used the link in my .env to connect the databse with my prisma schema.
When I am running ...
2
votes
0
answers
341
views
connected to a broadcast channel, can send but no longer receiving. How to detect an issue and reconnect
I have a vanilla Javascript app using Supabase a broadcast channel to keep things in sync.
const client = supabase.createClient(SUPABASE_URL, SUPABASE_KEY);
const channel = client.channel('test-...
1
vote
1
answer
84
views
Flow<PostgresAction.Insert>.onEach{}.collect() not running and blocking further commands from running for supabase realtime and kotlin android studio
I am working on a chatting app using Kotlin, XML, Android Studio and Supabase(for the back-end).
I am facing a problem with the real time feature so that I can handle real time messaging between users....
0
votes
1
answer
901
views
Why does my supabase realtime listener sporadically miss an event?
I have multiple realtime listeners in my iOS project that should be listening for events from supabase realtime. I'm using the current realtimeV2, however it appears that sometimes, without reasoning, ...
1
vote
1
answer
778
views
How do I use Supabase Realtime database with RLS and a custom JWT?
I am having trouble getting realtime data from my Supabase database when using Row level security (RLS) and a custom JWT.
When getting data from the database normally things work as expected, but when ...
0
votes
1
answer
133
views
Listening to table inserts in supabase within radius of user location in Flutter
I have a table in Supabase which has reported_location column. I want to listen to inserts in Flutter within a given radius.
I am using the code below but it isn't working.
late RealtimeChannel ...
0
votes
0
answers
177
views
Supabase Javascript Realtime subscription useState not in sync
When calling the callFunc outside of this subscription context everything works fine and all my items are logged. However when I add a new Task callFunc will get called but the logged state is the ...
2
votes
0
answers
227
views
Self Hosting Supabase: Twitter Provider Oauth issue
how can i use twitter on self hosting instance on supabase? I read the docs but i don't found anything related to that concept. Also i look the docker compose and env files and i don't find any ...
0
votes
1
answer
186
views
Is it possible to incorporate an OR condition in Supabase Realtime using the PostgresChangeFilter?
In Supabase Realtime, I aim to implement a filter that depends on either of two fields. Is it possible to use an OR condition in the PostgresChangeFilter for the following scenarios?
...
1
vote
1
answer
1k
views
Supabase realtime filter on DELETE event not working
I've noticed that filtering works as expected when listening for UPDATE events, but not for DELETE events.
I've verified that I have all the Replication settings enabled, and have run the alter table &...
0
votes
1
answer
2k
views
How to subscribe to a supabase realtime channel multiple times?
Situation
How can I design a feature that a user can visit a page, subscribe to real-time changes and unsubscribe if the user navigates away from the page using Supabase realtime (PostgreSQL)?
By ...
0
votes
1
answer
594
views
How to access the second level foreign key using Supabase
I have countries tables and cities tables with a country field that refers to countries tables as a relation, and finally jobs table that has a city field that refers to the cities table .. now when I ...
1
vote
0
answers
593
views
Disable supabase reads but allow real-time updates to anon and authenticated
I want to use supabase only for real-time updates of the PostgreSQL database.
Meaning that I don't want to allow anon/authenticated to read/update/insert/delete, but only want to push live changes ...
0
votes
1
answer
401
views
Enabling PostgreSQL Realtime Monitoring with Supabase and Bun Backend: Need Help Troubleshooting
I'm developing an application with a Supabase backend, and I'm currently attempting to deploy a separate, very simple backend using Bun with TypeScript and the Supabase-js npm library. The goal of ...
0
votes
1
answer
1k
views
Supabase Realtime - difference between subscribe() and channel()
The realtime docs overview shows this method to subscribe to changes:
// Initialize the JS client
import { createClient } from '@supabase/supabase-js'
const supabase = createClient(SUPABASE_URL, ...
0
votes
1
answer
449
views
Supabase RealTime Event - Value only gets updated on 1 of the 2 places
For my web app, I've built a credit system where people can redeem their credits to get the 'full' version of something in return.
Scenario: A user uploads an image and gets the upscaled version back ...
1
vote
1
answer
743
views
Not receiving supabase realtime updates
I would like to receive realtime updates for a specific table on my iOS client. I am able to successfully connect, but no messages are received.
Code:
var client = RealtimeClient(endPoint: "https:...
1
vote
0
answers
554
views
Selfhosted supabase realtime image not able to connect to DB
When I run the following docker compose file:
version: '3'
services:
db:
image: supabase/postgres:14.1.0.105
container_name: realtime-db
ports:
- "5432:5432"
volumes:...