We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51a58dd + 135a2b7 commit d63ce86Copy full SHA for d63ce86
RNViewShot.podspec
@@ -0,0 +1,18 @@
1
+require 'json'
2
+version = JSON.parse(File.read('package.json'))["version"]
3
+
4
+Pod::Spec.new do |s|
5
6
+ s.name = "RNViewShot"
7
+ s.version = version
8
+ s.summary = "Capture a React Native view to an image"
9
+ s.homepage = "https://github.com/gre/react-native-view-shot"
10
+ s.license = "MIT"
11
+ s.author = { "Gaëtan Renaudeau" => "[email protected]" }
12
+ s.platform = :ios, "7.0"
13
+ s.source = { :git => "https://github.com/gre/react-native-view-shot.git", :tag => "v#{s.version}" }
14
+ s.source_files = 'ios/*.{h,m}'
15
+ s.preserve_paths = "**/*.js"
16
+ s.dependency 'React'
17
18
+end
0 commit comments