-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGetnet.podspec
223 lines (171 loc) · 7.92 KB
/
Getnet.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
Pod::Spec.new do |s|
s.name = 'Getnet'
s.version = '1.2.1'
s.summary = 'Getneteurope paymentSDK - online payments'
s.description = <<-DESC
The library allows online payments processing.
Supported payment methods:
- Card payments (Mastercard, Visa, American Express)
- PayPal payments
- SEPA processing
- POI/PIA Wire Transfer
- AliPay Cross-border WAP
- P24 payments
- iDeal payments
- Sofort banking
- RatePay Direct Debit and Invoice banking
- Blick banking
- Bizum banking
- MB Way banking
- MB Referencia (Multibanco) banking
- Zinia banking
Fully integrated with licensed GetNetEurope Payment infrastructure.
DESC
s.homepage = 'https://github.com/getneteurope/mobilePaymentSDK-iOS'
s.license = { :type => 'MIT' }
s.authors = { 'GetNetEurope' => 'connect@getneteurope.com' }
s.source = { :git => 'https://github.com/getneteurope/mobilePaymentSDK-iOS.git', :tag => "v#{s.version}" }
s.platform = :ios
s.ios.deployment_target = '12.0'
s.swift_version = '4.2'
s.requires_arc = true
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.subspec 'All' do |ss|
ss.dependency 'Getnet/Card'
ss.dependency 'Getnet/PayPal'
ss.dependency 'Getnet/SEPA'
ss.dependency 'Getnet/WireTransfer'
ss.dependency 'Getnet/Alipay'
ss.dependency 'Getnet/P24'
ss.dependency 'Getnet/Ideal'
ss.dependency 'Getnet/Sofort'
ss.dependency 'Getnet/RatePay'
ss.dependency 'Getnet/Blik'
ss.dependency 'Getnet/Bizum'
ss.dependency 'Getnet/MBWay'
ss.dependency 'Getnet/Zinia'
ss.dependency 'Getnet/MBReferencia'
end
s.subspec 'Core' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeCom.framework'
ss.resource = 'eCom/SDKPayeCom.framework/SDKPayeCom.bundle'
ss.dependency 'AFNetworking', '~> 4.0.1'
ss.dependency 'CocoaLumberjack', '~> 3.6.1'
ss.ios.dependency 'Lockbox', '~> 3.0.6'
ss.dependency 'Mantle', '~> 2.1.1'
ss.ios.dependency 'MBProgressHUD', '~> 1.2.0'
ss.dependency 'libextobjc/EXTScope', '~> 0.6.0'
ss.ios.dependency 'TPKeyboardAvoiding', '~> 1.3.3'
ss.dependency 'MaterialComponents/TextControls+FilledTextAreas'
ss.dependency 'MaterialComponents/TextControls+FilledTextFields'
ss.dependency 'MaterialComponents/TextControls+FilledTextAreasTheming'
ss.dependency 'MaterialComponents/TextControls+FilledTextFieldsTheming'
ss.ios.frameworks = 'Foundation', 'UIKit', 'Security'
ss.libraries = 'xml2'
end
s.subspec 'Alipay' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComAlipay.framework'
ss.dependency 'Getnet/Core'
end
s.subspec 'CoreCard' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComCoreCard.framework'
ss.dependency 'Getnet/Core'
end
s.subspec 'Card' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComCard.framework'
ss.resource = 'eCom/SDKPayeComCard.framework/SDKPayeComCard.bundle'
ss.dependency 'Getnet/CoreCard'
end
s.subspec 'PhotoGallery' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComPhotoGallery.framework'
ss.dependency 'Getnet/Core'
end
s.subspec 'Scanner' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComScanner.framework'
ss.resource = 'eCom/SDKPayeComScanner.framework/SDKPayeComScanner.bundle'
ss.dependency 'Getnet/Card'
ss.dependency 'GoogleMLKit/TextRecognition'
end
s.subspec 'CardScanner' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComCardScanner.framework'
ss.resource = 'eCom/SDKPayeComCardScanner.framework/SDKPayeComCardScanner.bundle'
ss.dependency 'Getnet/Scanner'
end
s.subspec 'CardScannerGallery' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComCardScannerGallery.framework'
ss.resource = 'eCom/SDKPayeComCardScannerGallery.framework/SDKPayeComCardScannerGallery.bundle'
ss.dependency 'Getnet/CardScanner'
ss.dependency 'Getnet/PhotoGallery'
end
s.subspec 'P24' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComP24.framework'
ss.dependency 'Getnet/Core'
end
s.subspec 'PayPal' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComPayPal.framework'
ss.dependency 'Getnet/Core'
end
s.subspec 'SEPA' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComSEPA.framework'
ss.resource = 'eCom/SDKPayeComSEPA.framework/SDKPayeComSEPA.bundle'
ss.dependency 'Getnet/Core'
ss.dependency 'IBAN', '~> 1.0.0'
end
s.subspec 'IBANScanner' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComIBANScanner.framework'
ss.resource = 'eCom/SDKPayeComIBANScanner.framework/SDKPayeComIBANScanner.bundle'
ss.dependency 'Getnet/SEPA'
ss.dependency 'Getnet/Scanner'
end
s.subspec 'IBANScannerGallery' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComIBANScannerGallery.framework'
ss.resource = 'eCom/SDKPayeComIBANScannerGallery.framework/SDKPayeComIBANScannerGallery.bundle'
ss.dependency 'Getnet/IBANScanner'
ss.dependency 'Getnet/PhotoGallery'
end
s.subspec 'WireTransfer' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComWireTransfer.framework'
ss.resource = 'eCom/SDKPayeComWireTransfer.framework/SDKPayeComWireTransfer.bundle'
ss.dependency 'Getnet/Core'
end
s.subspec 'Ideal' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComIdeal.framework'
ss.resource = 'eCom/SDKPayeComIdeal.framework/SDKPayeComIdeal.bundle'
ss.dependency 'Getnet/Core'
end
s.subspec 'Sofort' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComSofort.framework'
ss.dependency 'Getnet/Core'
end
s.subspec 'RatePay' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComRatePay.framework'
ss.resource = 'eCom/SDKPayeComRatePay.framework/SDKPayeComRatePay.bundle'
ss.dependency 'Getnet/Core'
end
s.subspec 'Blik' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComBlik.framework'
ss.resource = 'eCom/SDKPayeComBlik.framework/SDKPayeComBlik.bundle'
ss.dependency 'Getnet/Core'
end
s.subspec 'Bizum' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComBizum.framework'
ss.resource = 'eCom/SDKPayeComBizum.framework/SDKPayeComBizum.bundle'
ss.dependency 'Getnet/Core'
end
s.subspec 'MBWay' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComMBWay.framework'
ss.resource = 'eCom/SDKPayeComMBWay.framework/SDKPayeComMBWay.bundle'
ss.dependency 'Getnet/Core'
end
s.subspec 'Zinia' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComZinia.framework'
ss.resource = 'eCom/SDKPayeComZinia.framework/SDKPayeComZinia.bundle'
ss.dependency 'Getnet/Core'
end
s.subspec 'MBReferencia' do |ss|
ss.vendored_frameworks = 'eCom/SDKPayeComMBReferencia.framework'
ss.dependency 'Getnet/Core'
end
s.default_subspecs = 'All', 'CardScannerGallery'
end