Skip to content

Commit c149877

Browse files
committed
docs: mention new architecture
1 parent 30ecc3e commit c149877

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,26 @@ ReactNativeBrownfield.popToNative(true);
8080

8181
> NOTE: Those methods works only with native components provided by this library.
8282
83+
## Enabling New Architecture
84+
85+
### Android
86+
Add the following to your `android/gradle.properties`:
87+
88+
```
89+
# Enable new architecture
90+
newArchEnabled=true
91+
```
92+
93+
### iOS
94+
Install cocoapods with the flag:
95+
96+
```
97+
RCT_NEW_ARCH_ENABLED=1 pod install
98+
```
99+
100+
> [!NOTE]
101+
> New Architecture is enabled by default from React Native 0.76
102+
83103
## Made with ❤️ at Callstack
84104

85105
React Native Brownfield is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Callstack](https://callstack.com) is a group of React and React Native geeks, contact us at [hello@callstack.com](mailto:hello@callstack.com) if you need any help with these or just want to say hi!

0 commit comments

Comments
 (0)