Skip to content

Commit

Permalink
move podspec file to root project
Browse files Browse the repository at this point in the history
  • Loading branch information
plamworapot authored Oct 10, 2018
1 parent dee7657 commit aa7d33b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions RNInAppBrowser.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
require 'json'

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

Pod::Spec.new do |s|
s.name = "RNInAppBrowser"
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.license = package['license']
s.author = package['author']
s.homepage = package['homepage']
s.source = { :git => "https://github.com/author/RNInAppBrowser.git", :tag => "master" }

s.requires_arc = true
s.platform = :ios, '8.0'

s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js'
s.source_files = 'ios/*.{h,m}'
s.exclude_files = 'android/**/*'

s.dependency "React"
#s.dependency "others"

end

0 comments on commit aa7d33b

Please sign in to comment.