-
Notifications
You must be signed in to change notification settings - Fork 441
Expand file tree
/
Copy pathRNBackgroundGeolocation.podspec
More file actions
45 lines (38 loc) · 1.55 KB
/
RNBackgroundGeolocation.podspec
File metadata and controls
45 lines (38 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.cocoapods_version = '>= 1.10.0'
s.name = 'RNBackgroundGeolocation'
s.version = package['version']
s.summary = package['description']
s.description = <<-DESC
Cross-platform background geolocation module for React Native with
battery-saving circular stationary-region monitoring and stop detection.
DESC
s.homepage = package['homepage']
s.license = package['license']
s.author = package['author']
s.source = {
:git => 'https://github.com/transistorsoft/react-native-background-geolocation.git',
:tag => s.version
}
s.platform = :ios, '12.0'
s.requires_arc = true
s.static_framework = true
s.source_files = 'ios/RNBackgroundGeolocation/*.{h,m,mm}'
s.preserve_paths = 'docs', 'CHANGELOG.md', 'LICENSE', 'package.json', 'RNBackgroundGeolocation.ios.js'
s.dependency 'CocoaLumberjack', '~> 3.8.5'
s.dependency 'TSLocationManager', '~> 4.0.10'
s.libraries = 'sqlite3', 'z', 'stdc++'
s.resource_bundles = {
'TSLocationManagerPrivacy' => ['ios/Resources/PrivacyInfo.xcprivacy']
}
# React Native dependencies:
# - For RN >= 0.71, use the helper which wires up React-Core, ReactCodegen, etc.
# - For older RN, fall back to React-Core manually.
if defined?(install_modules_dependencies)
install_modules_dependencies(s)
else
s.dependency 'React-Core'
end
end