暂无描述

RNViewShot.podspec 633B

12345678910111213141516171819
  1. require 'json'
  2. version = JSON.parse(File.read('package.json'))["version"]
  3. Pod::Spec.new do |s|
  4. s.name = "RNViewShot"
  5. s.version = version
  6. s.summary = "Capture a React Native view to an image"
  7. s.homepage = "https://github.com/gre/react-native-view-shot"
  8. s.license = "MIT"
  9. s.author = { "Gaëtan Renaudeau" => "renaudeau.gaetan@gmail.com" }
  10. s.platform = :ios, "7.0"
  11. s.source = { :git => "https://github.com/gre/react-native-view-shot.git", :tag => "v#{s.version}" }
  12. s.source_files = 'ios/*.{h,m}'
  13. s.preserve_paths = "**/*.js"
  14. s.dependency 'React'
  15. end