2020-05-08 16:37:49 +00:00
|
|
|
platform :ios, '11.0'
|
2020-07-20 16:35:17 +00:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
2019-08-07 13:51:34 +00:00
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
2019-06-21 16:39:20 +00:00
|
|
|
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
|
|
|
|
|
2020-07-20 16:35:17 +00:00
|
|
|
def all_pods
|
|
|
|
config = use_native_modules!
|
|
|
|
use_unimodules!
|
|
|
|
use_react_native!(:path => config["reactNativePath"])
|
|
|
|
use_flipper!
|
2020-05-08 16:37:49 +00:00
|
|
|
end
|
|
|
|
|
2021-01-05 16:23:20 +00:00
|
|
|
abstract_target 'defaults' do
|
2020-11-03 14:18:15 +00:00
|
|
|
# force use our own JitsiMeetSDK
|
|
|
|
pod 'JitsiMeetSDK', :git => 'https://github.com/RocketChat/jitsi-meet-ios-sdk-releases.git'
|
|
|
|
|
2020-07-20 16:35:17 +00:00
|
|
|
all_pods
|
2021-01-05 16:23:20 +00:00
|
|
|
|
|
|
|
target 'RocketChatRN' # Experimental app
|
|
|
|
target 'Rocket.Chat' # Official app
|
2018-07-26 14:23:06 +00:00
|
|
|
end
|
|
|
|
|
2019-07-18 17:44:02 +00:00
|
|
|
target 'ShareRocketChatRN' do
|
2021-02-10 13:35:44 +00:00
|
|
|
pod 'EXAppleAuthentication', :path=> "../node_modules/expo-apple-authentication/ios"
|
|
|
|
pod 'EXAV', :path=> "../node_modules/expo-av/ios"
|
|
|
|
pod 'EXFileSystem', :path=> "../node_modules/expo-file-system/ios"
|
|
|
|
pod 'EXHaptics', :path=> "../node_modules/expo-haptics/ios"
|
|
|
|
pod 'EXImageLoader', :path=> "../node_modules/expo-image-loader/ios"
|
|
|
|
pod 'UMCore', :path=> "../node_modules/@unimodules/core/ios"
|
|
|
|
pod 'UMImageLoaderInterface', :path=> "../node_modules/unimodules-image-loader-interface/ios"
|
|
|
|
pod 'UMReactNativeAdapter', :path=> "../node_modules/@unimodules/react-native-adapter/ios"
|
|
|
|
|
|
|
|
use_react_native!(:path => '../node_modules/react-native')
|
|
|
|
|
|
|
|
pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'
|
|
|
|
pod 'RNFBAnalytics', :path => '../node_modules/@react-native-firebase/analytics'
|
|
|
|
pod 'RNFBCrashlytics', :path => '../node_modules/@react-native-firebase/crashlytics'
|
|
|
|
pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'
|
|
|
|
pod 'RNCMaskedView', :path => '../node_modules/@react-native-community/masked-view'
|
|
|
|
pod 'RNFastImage', :path => '../node_modules/@rocket.chat/react-native-fast-image'
|
|
|
|
pod 'BugsnagReactNative', :path => '../node_modules/bugsnag-react-native'
|
|
|
|
pod 'react-native-appearance', :path => '../node_modules/react-native-appearance'
|
|
|
|
pod 'RNConfigReader', :path => '../node_modules/react-native-config-reader'
|
|
|
|
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
|
|
|
|
pod 'react-native-document-picker', :path => '../node_modules/react-native-document-picker'
|
|
|
|
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
|
|
|
|
pod 'RNLocalize', :path => '../node_modules/react-native-localize'
|
|
|
|
pod 'react-native-mmkv-storage', :path => '../node_modules/react-native-mmkv-storage'
|
|
|
|
pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
|
|
|
|
pod 'react-native-safe-area-context', :path => '../node_modules/react-native-safe-area-context'
|
|
|
|
pod 'RNScreens', :path => '../node_modules/react-native-screens'
|
|
|
|
pod 'react-native-simple-crypto', :path => '../node_modules/react-native-simple-crypto'
|
|
|
|
pod 'ReactNativeUiLib', :path => '../node_modules/react-native-ui-lib/lib'
|
|
|
|
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
|
|
|
|
pod 'rn-extensions-share', :path => '../node_modules/rn-extensions-share'
|
|
|
|
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
|
|
|
|
pod 'RNRootView', :path => '../node_modules/rn-root-view'
|
|
|
|
pod 'react-native-orientation-locker', :path => '../node_modules/react-native-orientation-locker'
|
2019-07-18 17:44:02 +00:00
|
|
|
end
|
|
|
|
|
2020-08-19 17:14:22 +00:00
|
|
|
# used to get user credentials
|
|
|
|
target 'NotificationService' do
|
2020-09-24 18:34:13 +00:00
|
|
|
all_pods
|
2020-08-19 17:14:22 +00:00
|
|
|
end
|
|
|
|
|
2018-07-26 14:23:06 +00:00
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
2019-08-07 13:51:34 +00:00
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
|
2018-07-26 14:23:06 +00:00
|
|
|
end
|
|
|
|
end
|
2020-05-08 16:37:49 +00:00
|
|
|
flipper_post_install(installer)
|
2020-07-20 16:35:17 +00:00
|
|
|
end
|