Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 870 Bytes

File metadata and controls

25 lines (17 loc) · 870 Bytes

React Native File Upload with Expo to Supabase Storage

This app is using the expo-router and Supabase to upload files to Supabase Storage.

Routes are protected by Supabase Auth.

Configuration

  1. Make sure to include your own Supabase keys inside the config/initSupabase.ts file.
  2. Also create a new bucket files inside Supabase Storage, and use the create-policy.sql to create a policy that allows users to upload files only to their own folder inside the bucket.

Running this example

To run the provided example, you can use:

npm expo start

Preview