Skip to content

Commit

Permalink
docs(rn): fix peer deps and remove alpha callouts (#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 committed Jan 28, 2025
1 parent df5beac commit e2d10b3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
8 changes: 3 additions & 5 deletions account-kit/rn-signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ios",
"cpp",
"*.podspec",
"react-native.config.json",
"react-native.config.js",
"!ios/build",
"!android/build",
"!android/gradle",
Expand Down Expand Up @@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions site/pages/react-native/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<div className="flex flex-row gap-4">
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e2d10b3

Please sign in to comment.