Skip to content

Commit f36d392

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

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,25 @@
3030
- Works well with **any native navigation** pattern, as well as every React Native JavaScript based navigation
3131
- Compatible with all native languages **Objective-C**, **Swift**, **Java** and **Kotlin**
3232

33+
## Enabling New Architecture
34+
35+
### Android
36+
Add the following to your `android/gradle.properties`:
37+
38+
```
39+
# Enable new architecture
40+
newArchEnabled=true
41+
```
42+
43+
### iOS
44+
Install cocoapods with the flag:
45+
46+
```
47+
RCT_NEW_ARCH_ENABLED=1 pod install
48+
```
49+
50+
> [!NOTE]
51+
> New Architecture is enabled by default from React Native 0.76
3352
3453
## Installation
3554

0 commit comments

Comments
 (0)