You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My suggestion/improvement for react-native-link command is to add an option to specify where new pod line should be added.
Why will you need it?
Let's say you have a project with multiple targets and multiple pods divided in some section like below:
def react_native_pods()
pod 'React', path: '../node_modules/react-native', subspecs: [
'Core',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket',
'CxxBridge',
'DevSupport',
]
pod 'yoga', path: '../node_modules/react-native/ReactCommon/yoga/yoga.podspec'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
end
def customized_pods()
pod 'react-native-maps', path: '../node_modules/react-native-maps'
end
target 'myFirstTarget' do
react_native_pods()
end
target 'secondTarget' do
react_native_pods()
customized_pods()
end
Now if you are going to link new library eg. react-native-screens it would be awesome to have an option to indicate to which def section new pod line should be added.
The text was updated successfully, but these errors were encountered:
My suggestion/improvement for
react-native-link
command is to add an option to specify where new pod line should be added.Why will you need it?
Let's say you have a project with multiple targets and multiple pods divided in some section like below:
Now if you are going to link new library eg.
react-native-screens
it would be awesome to have an option to indicate to whichdef
section new pod line should be added.The text was updated successfully, but these errors were encountered: