From 68e007538091f5d1827bb8d3b442a5f1cd1c0b3c Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Fri, 19 Jul 2024 16:09:21 -0400 Subject: [PATCH] use_react_native --- js/react_native/ios/Podfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/react_native/ios/Podfile b/js/react_native/ios/Podfile index 97e2796d13faa..6bd0638ef2943 100644 --- a/js/react_native/ios/Podfile +++ b/js/react_native/ios/Podfile @@ -6,8 +6,12 @@ platform :ios, '13.0' def shared config = use_native_modules! +if config["reactNativePath"] != nil + use_react_native!(:path => config["reactNativePath"]) +else use_react_native!(:path => '../node_modules/react-native/') + # Comment the next line if you don't want to use dynamic frameworks use_frameworks!