Hey guys, For the past 7 days I’ve been painstaki...
# help
d
Hey guys, For the past 7 days I’ve been painstakingly trying to find out why my expo app wasn’t compiling after upgrading to sdk43. Turns out
supabase-js
is the culprit. https://github.com/supabase/supabase-js/issues/295 If anyone has any insight on how to move forward please let me know.
s
I've been able to replicate this issue too, and added some more details to the issue report. It's strange that this started happening in SDK 43. I definitely had a working proof of concept in an earlier SDK version (possibly SDK 41, though it's been a few months since I tried it).
Update: I believe the solution is to set
detectSessionInUrl
to false: https://github.com/supabase/supabase-js/issues/295#issuecomment-955952766
Copy code
js
export const supabaseClient = createClient(
  my.supabase.url,
  my_supabase_key,
  {
    localStorage: AsyncStorage as any,
    autoRefreshToken: true,
    persistSession: true,
    detectSessionInUrl: false,
  }
);
d
Thank you!