Skip to content

Commit

Permalink
WIP: fabric codegen test
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas committed Apr 27, 2023
1 parent b7c5683 commit f6cd2ba
Show file tree
Hide file tree
Showing 12 changed files with 550 additions and 21 deletions.
2 changes: 1 addition & 1 deletion example/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=false
newArchEnabled=true

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
Expand Down
5 changes: 5 additions & 0 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if ENV['RCT_NEW_ARCH_ENABLED'].nil?
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
end

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

Expand All @@ -14,6 +18,7 @@ if $RNMapboxMapsImpl == 'mapbox'
else
platform :ios, '12.4'
end
prepare_react_native_project!

# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
Expand Down
Loading

0 comments on commit f6cd2ba

Please sign in to comment.