diff --git a/account-kit/rn-signer/package.json b/account-kit/rn-signer/package.json index 07411c3c27..660febac72 100644 --- a/account-kit/rn-signer/package.json +++ b/account-kit/rn-signer/package.json @@ -25,7 +25,7 @@ "ios", "cpp", "*.podspec", - "react-native.config.json", + "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", @@ -91,10 +91,8 @@ "@types/react": "^18.2.44" }, "peerDependencies": { - "react": "*", - "react-native": "*", - "react-native-config": "1.5.3", - "react-native-gesture-handler": "2.21.2", + "react": ">=18.0.0", + "react-native": ">=0.76.0", "react-native-inappbrowser-reborn": "^3.7.0", "react-native-mmkv": "^3.1.0" }, diff --git a/site/pages/react-native/getting-started/getting-started-expo.mdx b/site/pages/react-native/getting-started/getting-started-expo.mdx index 8ea5d203c0..144658b418 100644 --- a/site/pages/react-native/getting-started/getting-started-expo.mdx +++ b/site/pages/react-native/getting-started/getting-started-expo.mdx @@ -11,6 +11,14 @@ To use Account Kit in your React Native application, ensure you are on React Nat We would go through the steps to get your environment setup for using Account Kit within a React Native application on Expo. +### Create a new Expo project + +If you don't have an Expo project setup, you can create one using the following command: + +```bash +npx create-expo-app@latest +``` + ### Upgrade to the latest version of Expo The first thing we need to do is make sure we're on the latest version of Expo (SDK 52 or later). The reason for this is that we need React Native version 0.76 or higher because it has `TextEncoder` natively supported. diff --git a/site/pages/react-native/overview.mdx b/site/pages/react-native/overview.mdx index 6f28d631b0..1c5991d96d 100644 --- a/site/pages/react-native/overview.mdx +++ b/site/pages/react-native/overview.mdx @@ -11,12 +11,12 @@ import { TileButton } from "../../components/TileButton"; We've built a simple example using expo [here](https://github.com/alchemyplatform/aa-sdk/tree/main/examples/react-native-expo-example). This guide assumes you're using Expo, but the same principles should apply to a bare React Native app as well. -:::warning -The Alchemy Signer is currently in Alpha and only supported on Android devices. To get started using the Alchemy Signer in your React Native app, refer to the [React Native Signer](/react-native/signer/overview) documentation. For 3rd party signer support in React Native, refer to your signer provider's documentation. -::: - ## Getting Started +:::tip +If you're starting fresh, we recommend using Expo as it makes getting started significantly easier. +::: + Whether you're using Expo or a bare React Native app, follow our guides to get started with using Account Kit in your project.