supabase-js icon indicating copy to clipboard operation
supabase-js copied to clipboard

Network Error (Fetch) on Expo React Native

Open modsushi opened this issue 1 year ago • 0 comments

Network request failed (Fetch Error in Expo)

Network request fails with Expo

Using any of the supabasejs library methods, network error is thrown. Using fetch works everywhere else.

To Reproduce

  1. Use supabase in expo project
  2. Try to use a supabase function

Expected behavior

Fetch should work

System information

I've tried with

  1. Windows machine
  2. Ubuntu Machine
  3. Expo Go, Dev build
  • Version of supabase-js: 2.39.8
  • Version of Node.js: 21
  • Version of Expo: 49
  • Version of RN: 0.72.10

modsushi avatar Mar 28 '24 09:03 modsushi