Skip to content

Commit

Permalink
[docs] Clarify bare new arch setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed Apr 2, 2024
1 parent 9cf64ab commit 689081c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/pages/guides/new-architecture.mdx
Expand Up @@ -121,7 +121,8 @@ Now you can tap around your app and test it out. For most non-trivial apps, you'

<Collapsible summary="Are you enabling the New Architecture in a bare React Native app?">

Refer to the ["Prerequisites for Applications" section of the React Native documentation](https://reactnative.dev/docs/new-architecture-app-intro) for instructions on how to enable the New Architecture in your project.
- **iOS**: If your project has a **Podfile.properties.json** file (it was created by `npx create-expo-app` or `npx expo prebuild`), you can enable the New Architecture by setting the `newArchEnabled` property to `"true"` in the **Podfile.properties.json** file. Otherwise, refer to the ["Enable the New Architecture for Apps"](https://github.com/reactwg/react-native-new-architecture/blob/main/docs/enable-apps.md) section of the React Native New Architecture working group.
- **Android**: Set `newArchEnabled=true` in the **gradle.properties** file.

</Collapsible>

Expand Down

0 comments on commit 689081c

Please sign in to comment.