UNPKG

713 BPlain TextView Raw
1require 'json'
2
3package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
5Pod::Spec.new do |s|
6 s.name = "RNDeviceInfo"
7 s.version = package['version']
8 s.summary = package['description']
9 s.license = package['license']
10
11 s.authors = package['author']
12 s.homepage = package['repository']['url']
13 s.platforms = { :ios => "9.0", :visionos => "1.0", :tvos => "10.0"}
14
15 s.source = { :git => "https://github.com/react-native-device-info/react-native-device-info.git", :tag => "v#{s.version}" }
16 s.source_files = "ios/**/*.{h,m}"
17 s.resource_bundles = {
18 'RNDeviceInfoPrivacyInfo' => ['ios/PrivacyInfo.xcprivacy'],
19 }
20
21 s.dependency 'React-Core'
22end