Skip to content

Commit 34e1b6b

Browse files
committed
feat: enable new arch in FabricExample
1 parent 32b7a16 commit 34e1b6b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

FabricExample/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
3737
# your application. You should enable this flag either if you want
3838
# to write custom TurboModules/Fabric components OR use libraries that
3939
# are providing them.
40-
newArchEnabled=false
40+
newArchEnabled=true
4141

4242
disableMultipleInstancesCheck=true

FabricExample/ios/Podfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
44
platform :ios, '12.4'
55
install! 'cocoapods', :deterministic_uuids => false
66

7+
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
8+
79
target 'FabricExample' do
810
config = use_native_modules!
911

0 commit comments

Comments
 (0)