Skip to content

Commit

Permalink
feat(pod): add podspec to support new cli and rn 0.60
Browse files Browse the repository at this point in the history
  • Loading branch information
sibelius committed Jun 2, 2019
1 parent a7d8707 commit 50cfa4e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions react-native-voice.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/wenkesj/react-native-voice.git" }
s.source_files = "ios/**/*.{h,m}"

s.dependency 'React'
end

0 comments on commit 50cfa4e

Please sign in to comment.