The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update expo documentation
Faizan Rasool03cfeb488b67
diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdxindex aa420134d55..d4b0805ec49 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdx@@ -45,21 +45,21 @@ These variables will be exposed on the browser, and that's completely fine since[Row Level Security](/docs/guides/auth#row-level-security) enabled on our Database.```ts title=lib/supabase.ts-import * as SecureStore from "expo-secure-store";+import 'react-native-url-polyfill/auto'+import * as SecureStore from 'expo-secure-store'import { createClient } from '@supabase/supabase-js'-const ExpoSecureStoreAdapter = {getItem: (key: string) => {- return SecureStore.getItemAsync(key);+ return SecureStore.getItemAsync(key)},setItem: (key: string, value: string) => {- SecureStore.setItemAsync(key, value);+ SecureStore.setItemAsync(key, value)},removeItem: (key: string) => {- SecureStore.deleteItemAsync(key);+ SecureStore.deleteItemAsync(key)},-};+}const supabaseUrl = YOUR_REACT_NATIVE_SUPABASE_URLconst supabaseAnonKey = YOUR_REACT_NATIVE_SUPABASE_ANON_KEYdiff --git a/package-lock.json b/package-lock.jsonindex 0881d78353b..9ed78cb140f 100644--- a/package-lock.json+++ b/package-lock.json@@ -68107,7 +68107,7 @@"@types/react": "^17.0.37","@types/react-copy-to-clipboard": "^5.0.4","@types/react-dom": "^17.0.11",- "@types/react-syntax-highlighter": "*",+ "@types/react-syntax-highlighter": "^15.5.6","autoprefixer": "^10.4.2","clsx": "^1.2.1","cmdk-supabase": "^0.2.2",