-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMTPushRN.podspec
More file actions
27 lines (23 loc) · 920 Bytes
/
Copy pathMTPushRN.podspec
File metadata and controls
27 lines (23 loc) · 920 Bytes
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
require 'json'
pjson = JSON.parse(File.read('package.json'))
Pod::Spec.new do |s|
s.name = "MTPushRN"
s.version = pjson["version"]
s.homepage = pjson["homepage"]
s.summary = pjson["description"]
s.license = pjson["license"]
s.author = pjson["author"]
s.ios.deployment_target = '7.0'
s.source = { :git => "https://github.com/DevEngageLab/push-rectnative-plugin", :tag => "#{s.version}" }
s.source_files = 'ios/RCTMTPushModule/*.{h,m,mm}'
s.preserve_paths = "*.js"
s.frameworks = 'UIKit','CFNetwork','CoreFoundation','CoreTelephony','SystemConfiguration','CoreGraphics','Foundation','Security'
s.weak_frameworks = 'UserNotifications'
s.libraries = 'z','resolv'
s.dependency 'MTPush','5.4.1'
if defined?(install_modules_dependencies)
install_modules_dependencies(s)
else
s.dependency 'React'
end
end