2016-06-02 20:40:16 +00:00
|
|
|
require 'json'
|
|
|
|
version = JSON.parse(File.read('package.json'))["version"]
|
|
|
|
|
2015-10-29 15:38:50 +00:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
2016-06-02 20:40:16 +00:00
|
|
|
s.name = "RNKeychain"
|
|
|
|
s.version = version
|
|
|
|
s.summary = "Keychain Access for React Native."
|
|
|
|
s.homepage = "https://github.com/oblador/react-native-keychain"
|
|
|
|
s.license = "MIT"
|
|
|
|
s.author = { "Joel Arvidsson" => "joel@oblador.se" }
|
2017-08-24 21:21:36 +00:00
|
|
|
s.ios.deployment_target = '7.0'
|
|
|
|
s.tvos.deployment_target = '9.0'
|
2016-06-02 20:40:16 +00:00
|
|
|
s.source = { :git => "https://github.com/oblador/react-native-keychain.git", :tag => "v#{s.version}" }
|
|
|
|
s.source_files = 'RNKeychainManager/**/*.{h,m}'
|
2015-10-29 15:38:50 +00:00
|
|
|
s.preserve_paths = "**/*.js"
|
|
|
|
s.dependency 'React'
|
|
|
|
|
|
|
|
end
|