SupabaseS
Supabase2y ago
phil

Realtime listener doesnt seem to get anything

I have this table called testing with realtime enabled and no RLS.

I created a listener like this:

supabase
      .channel(`rxdb-supabase-https://my-instance.supabase.co`)
      .on('postgres_changes', { event: '*', schema: 'public', table: 'testing' }, (payload) => {
        console.log('testing', payload);
      })
      .subscribe();


Now when I add an entry to that table, I do not see any console logs. Any ideas?

Other tables I listen to do however work. Some tables work some dont and iv no idea why
image.png
Was this page helpful?