require "json"

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

Pod::Spec.new do |s|
  s.name         = "RNGameCenter"
  s.version      = package["version"]
  s.summary = 'react-native game center ios'
  s.description  = <<-DESC
                  RNGameCenter
                  DESC
  s.homepage     = "https://github.com/jeffreymendez1993/RNGameCenter"
  s.license      = "MIT"
  s.license    = { :type => "MIT", :file => "LICENSE" }
  s.authors      = { "Jeffrey Mendez" => "jeffmendez19@email.com" }
  s.platforms    = { :ios => "9.0", :tvos => "10.0" }
  s.source       = { :git => "https://github.com/jeffreymendez1993/RNGameCenter.git", :tag => "#{s.version}" }

  s.source_files =  "RNGameCenter/**/*.{h,m}"
  s.exclude_files       = 'android/**/*'
  s.dependency 'React'
  # s.swift_version = "5.0"
end