-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreact-native-fbapplink.podspec
More file actions
32 lines (27 loc) · 1000 Bytes
/
react-native-fbapplink.podspec
File metadata and controls
32 lines (27 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require 'json'
version = JSON.parse(File.read('package.json'))["version"]
Pod::Spec.new do |s|
s.name = "react-native-fbapplink"
s.version = version
s.summary = "Capture a React Native view to an image"
s.homepage = "https://github.com/gre/react-native-fbapplink"
s.license = "MIT"
s.author = { "Trent Ewald" => "business@ubermc.net" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/gre/react-native-fbapplink.git", :tag => "v#{s.version}" }
s.source_files = 'ios/*.{h,m}'
s.preserve_paths = "**/*.js"
s.dependency 'React'
s.subspec 'Core' do |ss|
ss.dependency 'FBSDKCoreKit'
ss.source_files = 'ios/RCTFBSDK/core/*.{h,m}'
end
s.subspec 'Login' do |ss|
ss.dependency 'FBSDKLoginKit'
ss.source_files = 'ios/RCTFBSDK/login/*.{h,m}'
end
s.subspec 'Share' do |ss|
ss.dependency 'FBSDKShareKit'
ss.source_files = 'ios/RCTFBSDK/share/*.{h,m}'
end
end