Skip to content

Commit

Permalink
use_react_native!(:path => '../node_modules/react-native')
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Jul 27, 2024
1 parent c22daf3 commit c8266af
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions js/react_native/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '15.0'
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')
end
use_react_native!(:path => '../node_modules/react-native')

# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
Expand Down

0 comments on commit c8266af

Please sign in to comment.