-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRNNotifee.podspec
More file actions
39 lines (32 loc) · 1.42 KB
/
RNNotifee.podspec
File metadata and controls
39 lines (32 loc) · 1.42 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
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "RNNotifee"
s.version = package["version"]
s.description = package["description"]
s.summary = <<-DESC
A feature rich local notifications library for React Native Android & iOS.
DESC
s.homepage = "https://notifee.app"
s.license = package['license']
s.authors = "Invertase Limited"
s.source = { :git => "https://github.com/invertase/notifee", :tag => "v#{s.version}" }
s.social_media_url = 'http://twitter.com/notifee_app'
s.cocoapods_version = '>= 1.10.0'
s.ios.deployment_target = '10.0'
s.dependency 'React-Core'
s.source_files = ['ios/RNNotifee/NotifeeApiModule.h', 'ios/RNNotifee/NotifeeApiModule.m']
if defined?($NotifeeCoreFromSources) && $NotifeeCoreFromSources == true
# internal dev flag used by Notifee devs, ignore
Pod::UI.warn "RNNotifee: Using NotifeeCore from sources."
s.dependency 'NotifeeCore'
elsif defined?($NotifeeExtension) && $NotifeeExtension == true
# App uses Notification Service Extension
Pod::UI.warn "RNNotifee: using Notification Service Extension."
s.dependency 'RNNotifeeCore'
else
s.subspec "NotifeeCore" do |ss|
ss.source_files = "ios/NotifeeCore/*.{h,mm,m}"
end
end
end