Skip to content

Commit 22010aa

Browse files
committed
Build React Native from source so patch-package changes to native RN code are compiled too
1 parent 679edf3 commit 22010aa

3 files changed

Lines changed: 1297 additions & 418 deletions

File tree

ios/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ end
1212
# Explicitly enable new architecture
1313
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
1414

15-
# Use prebuilt React Native binaries instead of building from source
16-
ENV['RCT_USE_PREBUILT_RNCORE'] = '1'
17-
ENV['RCT_USE_RN_DEP'] = '1'
15+
# Build React Native from source so patch-package changes to native RN code are compiled.
16+
ENV['RCT_USE_PREBUILT_RNCORE'] = '0'
17+
ENV['RCT_USE_RN_DEP'] = '0'
1818

1919
# Use it to require both react-native's and this package's scripts:
2020
node_require('react-native/scripts/react_native_pods.rb')

0 commit comments

Comments
 (0)