Podfile 1.78 KB
Newer Older
1 2 3 4
platform :ios, '10.0'

require_relative '../node_modules/react-native-unimodules/cocoapods.rb'

5 6 7 8 9 10 11 12

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'
Diego Mello's avatar
Diego Mello committed
13

14 15 16 17
  pod 'React', path: rn_path, subspecs: [
    'Core',
    'RCTActionSheet',
    'RCTAnimation',
Diego Mello's avatar
Diego Mello committed
18
#    'RCTGeolocation',
19 20 21 22 23 24 25 26 27 28
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket'
  ]

  pod 'RNImageCropPicker', :path =>  '../node_modules/react-native-image-crop-picker'
Diego Mello's avatar
Diego Mello committed
29 30
  pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'

31 32 33 34 35 36
  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'

Diego Mello's avatar
Diego Mello committed
37 38 39 40
  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'
41
  pod 'react-native-webview', :path => '../node_modules/react-native-webview'
42 43 44 45 46 47
  
  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'
48

49 50
  use_unimodules!

51 52 53 54 55 56 57 58
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end
Diego Mello's avatar
Diego Mello committed
59
end