diff --git a/apps/docs/content/guides/getting-started/tutorials/with-expo-react-native.mdx b/apps/docs/content/guides/getting-started/tutorials/with-expo-react-native.mdx index 9e303589d83..a86e882cd3c 100644 --- a/apps/docs/content/guides/getting-started/tutorials/with-expo-react-native.mdx +++ b/apps/docs/content/guides/getting-started/tutorials/with-expo-react-native.mdx @@ -34,7 +34,7 @@ cd expo-user-management Then let's install the additional dependencies: [supabase-js](https://github.com/supabase/supabase-js) ```bash -npx expo install @supabase/supabase-js @react-native-async-storage/async-storage @rneui/themed react-native-url-polyfill +npx expo install @supabase/supabase-js @react-native-async-storage/async-storage @rneui/themed ``` Now let's create a helper file to initialize the Supabase client. @@ -52,7 +52,6 @@ These variables are safe to expose in your Expo app since Supabase has ```ts lib/supabase.ts - import 'react-native-url-polyfill/auto' import AsyncStorage from '@react-native-async-storage/async-storage' import { createClient } from '@supabase/supabase-js' @@ -83,7 +82,7 @@ These variables are safe to expose in your Expo app since Supabase has ```bash npm install @supabase/supabase-js - npm install @rneui/themed @react-native-async-storage/async-storage react-native-url-polyfill + npm install @rneui/themed @react-native-async-storage/async-storage npm install aes-js react-native-get-random-values npx expo install expo-secure-store ``` @@ -91,7 +90,6 @@ These variables are safe to expose in your Expo app since Supabase has Implement a `LargeSecureStore` class to pass in as Auth storage for the `supabase-js` client: ```ts lib/supabase.ts - import "react-native-url-polyfill/auto"; import { createClient } from "@supabase/supabase-js"; import AsyncStorage from "@react-native-async-storage/async-storage"; import * as SecureStore from 'expo-secure-store'; @@ -405,7 +403,6 @@ const styles = StyleSheet.create({ Now that we have all the components in place, let's update `App.tsx`: ```tsx App.tsx -import 'react-native-url-polyfill/auto' import { useState, useEffect } from 'react' import { supabase } from './lib/supabase' import Auth from './components/Auth'