Skip to content

Commit 3f38138

Browse files
committed
Build React Native from source so patch-package changes to native RN code are compiled
1 parent a7bf45b commit 3f38138

3 files changed

Lines changed: 1324 additions & 405 deletions

File tree

ios/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ end
1111

1212
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
1313

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

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

0 commit comments

Comments
 (0)