Skip to content

Commit ad1c637

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

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,26 @@ or
4343
yarn add @callstack/react-native-brownfield
4444
```
4545

46+
## Enabling New Architecture
47+
48+
### Android
49+
Add the following to your `android/gradle.properties`:
50+
51+
```
52+
# Enable new architecture
53+
newArchEnabled=true
54+
```
55+
56+
### iOS
57+
Install cocoapods with the flag:
58+
59+
```
60+
RCT_NEW_ARCH_ENABLED=1 pod install
61+
```
62+
63+
> [!NOTE]
64+
> New Architecture is enabled by default from React Native 0.76
65+
4666
## Usage
4767

4868
React Native Brownfield library works with all major native programming languages. Majority of its API is exposed on the native side. Click on the logo to choose the one that interests you:
@@ -80,6 +100,7 @@ ReactNativeBrownfield.popToNative(true);
80100

81101
> NOTE: Those methods works only with native components provided by this library.
82102
103+
83104
## Made with ❤️ at Callstack
84105

85106
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)