-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathklaviyo-react-native-sdk.podspec
More file actions
32 lines (25 loc) · 1021 Bytes
/
klaviyo-react-native-sdk.podspec
File metadata and controls
32 lines (25 loc) · 1021 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
28
29
30
31
32
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = package["name"]
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "13.0" }
s.source = { :git => "https://github.com/klaviyo/klaviyo-react-native-sdk.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.resources = ["ios/klaviyo-sdk-configuration.plist"]
s.pod_target_xcconfig = { "DEFINES_MODULE" => "YES" }
s.dependency "React-Core"
s.dependency "KlaviyoSwift", "5.2.2"
# Optional location and forms; included by default, set to 'false' to exclude
if ENV['KLAVIYO_INCLUDE_LOCATION'] != 'false'
s.dependency "KlaviyoLocation", "5.2.2"
end
if ENV['KLAVIYO_INCLUDE_FORMS'] != 'false'
s.dependency "KlaviyoForms", "5.2.2"
end
s.default_subspecs = :none
end