2018-07-26 14:23:06 +00:00
|
|
|
# Uncomment the next line to define a global platform for your project
|
|
|
|
platform :ios, '9.0'
|
|
|
|
|
|
|
|
target 'RocketChatRN' do
|
|
|
|
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
|
|
|
|
# use_frameworks!
|
|
|
|
|
|
|
|
# Pods for RocketChatRN
|
|
|
|
# this is very important to have!
|
|
|
|
rn_path = '../node_modules/react-native'
|
|
|
|
pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
|
|
|
|
pod 'React', path: rn_path, subspecs: [
|
|
|
|
'Core',
|
|
|
|
'RCTActionSheet',
|
|
|
|
'RCTAnimation',
|
|
|
|
'RCTGeolocation',
|
|
|
|
'RCTImage',
|
|
|
|
'RCTLinkingIOS',
|
|
|
|
'RCTNetwork',
|
|
|
|
'RCTSettings',
|
|
|
|
'RCTText',
|
|
|
|
'RCTVibration',
|
|
|
|
'RCTWebSocket'
|
|
|
|
]
|
|
|
|
|
|
|
|
pod 'RNImageCropPicker', :path => '../node_modules/react-native-image-crop-picker'
|
2018-09-19 14:18:32 +00:00
|
|
|
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
|
|
|
|
|
2018-07-26 14:23:06 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
if target.name == "React"
|
|
|
|
target.remove_from_project
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|