Hi, im trying to set up realtime changes with realtime-js but I only receive DELETE payloads even though im listening to "*" all changes. Has anyone else had this problem and know a fix? the table has no RLS policies btw.
g
garyaustin
01/31/2022, 4:28 AM
There have been several issues with realtime in various conditions since the RLS update in Dec (even without RLS). If you are not running on the hosted Supabase make sure you have latest realtime installed. Make sure you have latest supabase.js.
It is interesting that delete works because it does not use the RLS no matter what. Make sure you have RLS turned off or the user has access to select RLS (realtime uses that for insert/updates). Make sure you have replication on for insert/update and table turned on (I suspect you do though if you are getting deletes).
garyaustin
01/31/2022, 4:29 AM
You can search supabase/realtime and supabase/supabase issues for realtime and see a few of the issues, but most seem resolved.
v
vanderrlay
01/31/2022, 7:39 AM
Thanks for the advice. Have double checked everything is up to date but still only receiving deletes.