diff --git a/docs/content/docs/integrations/expo.mdx b/docs/content/docs/integrations/expo.mdx index bc3e547b9f..3da5876fc2 100644 --- a/docs/content/docs/integrations/expo.mdx +++ b/docs/content/docs/integrations/expo.mdx @@ -111,22 +111,6 @@ Expo is a popular framework for building cross-platform apps with React Native. ``` - - ## Initialize Better Auth Client - - To initialize Better Auth in your Expo app, you need to call `createAuthClient` with the base url of your Better Auth backend. Make sure to import the client from `/react`. - - ```ts title="src/auth-client.ts" - import { createAuthClient } from "better-auth/react"; - - export const authClient = createAuthClient({ - baseURL: "http://localhost:8081", /* base url of your Better Auth backend. */ - }); - ``` - - Be sure to include the full URL, including the path, if you've changed the default path from `/api/auth`. - - ## Configure Metro Bundler