Skip to content

Commit 6105499

Browse files
committed
feat: enable new arch without permissions type working
1 parent ebcb075 commit 6105499

File tree

3 files changed

+367
-7
lines changed

3 files changed

+367
-7
lines changed

FabricExample/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ 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
# Use this property to enable or disable the Hermes JS engine.
4343
# If set to false, you will be using JSC instead.

FabricExample/ios/Podfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ prepare_react_native_project!
1515
# ```
1616
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
1717

18+
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
19+
1820
linkage = ENV['USE_FRAMEWORKS']
1921
if linkage != nil
2022
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green

0 commit comments

Comments
 (0)