diff --git a/redirects.mjs b/redirects.mjs index 46f69756..ff2e4808 100644 --- a/redirects.mjs +++ b/redirects.mjs @@ -280,6 +280,7 @@ const reactNativeRedirects = { "/react-native/react-native.useuser": "/references/react-native/v0/useUser", "/react-native/storage": "/references/react-native/v0/hooks#storage", "/react-native/faq/deeplinks": "/react-native/v0/faq", + "/typescript/v5/react-native/installation": "/typescript/v5/react-native/getting-started", }; const unityRedirects = { diff --git a/src/app/typescript/v5/react-native/installation/page.mdx b/src/app/typescript/v5/react-native/getting-started/page.mdx similarity index 92% rename from src/app/typescript/v5/react-native/installation/page.mdx rename to src/app/typescript/v5/react-native/getting-started/page.mdx index 5e29b09a..8e523df2 100644 --- a/src/app/typescript/v5/react-native/installation/page.mdx +++ b/src/app/typescript/v5/react-native/getting-started/page.mdx @@ -1,8 +1,20 @@ import { Callout, Steps, Step, GithubTemplateCard } from "@doc"; -# Installation +# Getting Started -To install the React Native SDK, you'll need to install the `@thirdweb/react-native-adapter` package from npm on top of the `thirdweb` package. +### Automatic Installation + +We recommend starting a new thirdweb React Native project using our CLI, which sets up everything automatically for you. + +In your CLI, run: + +```bash +npx thirdweb create --react-native +``` + +### Manual Installation + +To manually install the React Native SDK, you'll need to install the `@thirdweb/react-native-adapter` package from npm on top of the `thirdweb` package.