2019-07-05 03:49:38 +00:00
|
|
|
require 'json'
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
|
|
|
|
|
s.name = "RNFastImage"
|
|
|
|
s.version = package['version']
|
|
|
|
s.summary = package['description']
|
|
|
|
s.authors = { "Dylan Vann" => "dylan@dylanvann.com" }
|
|
|
|
s.homepage = "https://github.com/DylanVann/react-native-fast-image#readme"
|
|
|
|
s.license = "MIT"
|
|
|
|
s.platforms = { :ios => "8.0", :tvos => "9.0" }
|
|
|
|
s.framework = 'UIKit'
|
|
|
|
s.requires_arc = true
|
2020-03-09 05:21:01 +00:00
|
|
|
s.source = { :git => "https://github.com/DylanVann/react-native-fast-image.git", :tag => "v#{s.version}" }
|
2019-07-05 03:49:38 +00:00
|
|
|
s.source_files = "ios/**/*.{h,m}"
|
|
|
|
|
|
|
|
s.dependency 'React'
|
|
|
|
s.dependency 'SDWebImage', '~> 5.0'
|
|
|
|
s.dependency 'SDWebImageWebPCoder', '~> 0.2.3'
|
2020-03-09 02:46:36 +00:00
|
|
|
end
|