Expo App with CORS issue when uploading to Superbase storage

So I'm following this Supabase tutorial:

https://supabase.com/docs/guides/getting-started/tutorials/with-expo-react-native

Running the web version I can register and login into the app with no issues. However when I try to upload an image I get a CORS error.

I'm aware there's no CORS related options on hosted Supabase, but can't find anything online about how to fix this via Expo. Before you could update the webpack config, but since switching to using Metro there doesn't seem to be any way to update it.

Anyone else had this issue?
Learn how to use Supabase in your React Native App.
Was this page helpful?