96 lines
2.9 KiB
Ruby
96 lines
2.9 KiB
Ruby
platform :ios, '10.0'
|
|
|
|
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
|
|
|
|
|
|
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 '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'
|
|
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
|
|
pod 'RNLocalize', :path => '../node_modules/react-native-localize'
|
|
|
|
pod 'RNScreens', :path => '../node_modules/react-native-screens'
|
|
|
|
pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'
|
|
|
|
pod 'react-native-orientation-locker', :path => '../node_modules/react-native-orientation-locker'
|
|
|
|
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
|
|
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'
|
|
pod 'react-native-webview', :path => '../node_modules/react-native-webview'
|
|
|
|
pod 'Firebase/Core', '~> 5.20.1'
|
|
pod 'Fabric', '~> 1.9.0'
|
|
pod 'Crashlytics', '~> 3.12.0'
|
|
pod 'GoogleIDFASupport', '~> 3.14.0'
|
|
pod 'Firebase/Performance', '~> 5.20.1'
|
|
pod 'react-native-document-picker', :path => '../node_modules/react-native-document-picker'
|
|
|
|
use_unimodules!
|
|
|
|
end
|
|
|
|
target 'ShareRocketChatRN' do
|
|
|
|
rn_path = '../node_modules/react-native'
|
|
|
|
pod 'React', path: rn_path, subspecs: [
|
|
'Core',
|
|
'RCTActionSheet',
|
|
'RCTAnimation',
|
|
# 'RCTGeolocation',
|
|
'RCTImage',
|
|
'RCTLinkingIOS',
|
|
'RCTNetwork',
|
|
'RCTSettings',
|
|
'RCTText',
|
|
'RCTVibration',
|
|
'RCTWebSocket'
|
|
]
|
|
|
|
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
|
|
pod 'RNLocalize', :path => '../node_modules/react-native-localize'
|
|
|
|
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
|
|
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'
|
|
|
|
pod 'Firebase/Core', '~> 5.20.1'
|
|
pod 'Fabric', '~> 1.9.0'
|
|
pod 'Crashlytics', '~> 3.12.0'
|
|
pod 'GoogleIDFASupport', '~> 3.14.0'
|
|
pod 'Firebase/Performance', '~> 5.20.1'
|
|
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
if target.name == "React"
|
|
target.remove_from_project
|
|
end
|
|
end
|
|
end
|