-
Notifications
You must be signed in to change notification settings - Fork 266
/
stripe-react-native.podspec
32 lines (26 loc) · 1.13 KB
/
stripe-react-native.podspec
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')))
# Keep stripe_version in sync with https://github.com/stripe/stripe-identity-react-native/blob/main/stripe-identity-react-native.podspec
stripe_version = '~> 24.2.0'
Pod::Spec.new do |s|
s.name = 'stripe-react-native'
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/stripe/stripe-react-native.git', tag: s.version.to_s }
s.source_files = 'ios/**/*.{h,m,mm,swift}'
s.exclude_files = 'ios/Tests/'
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'ios/Tests/**/*.{m,swift}'
end
s.dependency 'React-Core'
s.dependency 'Stripe', stripe_version
s.dependency 'StripePaymentSheet', stripe_version
s.dependency 'StripePayments', stripe_version
s.dependency 'StripePaymentsUI', stripe_version
s.dependency 'StripeApplePay', stripe_version
s.dependency 'StripeFinancialConnections', stripe_version
end