Skip to content

Instantly share code, notes, and snippets.

@radinreth
Created December 29, 2018 05:31
Show Gist options
  • Save radinreth/f64abcf468fa4f7963419e251977a8ff to your computer and use it in GitHub Desktop.
Save radinreth/f64abcf468fa4f7963419e251977a8ff to your computer and use it in GitHub Desktop.
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'rnSocialLogin' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for rnSocialLogin
rn_path = '../node_modules/react-native'
rn_maps_path = '../node_modules/react-native-maps'
pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
pod 'React', path: rn_path, subspecs: [
'ART',
'Core',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket'
]
pod 'FBSDKCoreKit', '4.37.0'
pod 'FBSDKShareKit', '4.37.0'
pod 'FBSDKLoginKit', '4.37.0'
pod 'react-native-fbsdk', :path => '../node_modules/react-native-fbsdk'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# very important to have, unless you removed React dependencies for Libraries
# and you rely on Cocoapods to manage it
targets_to_ignore = %w(React yoga)
if targets_to_ignore.include? target.name
target.remove_from_project
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment