Skip to content

Commit 671aa71

Browse files
3.0.0
1 parent 470a1df commit 671aa71

File tree

1,028 files changed

+114305
-99310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,028 files changed

+114305
-99310
lines changed

.gitignore

+4-51
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
# Xcode
2-
#
3-
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4-
5-
## Build generated
6-
build/
7-
DerivedData
82

93
## Various settings
104
*.pbxuser
@@ -23,55 +17,14 @@ xcuserdata
2317
*.xcuserstate
2418
*.xcscmblueprint
2519

26-
## Obj-C/Swift specific
27-
*.hmap
28-
*.ipa
29-
30-
# CocoaPods
31-
#
32-
# We recommend against adding the Pods directory to your .gitignore. However
33-
# you should judge for yourself, the pros and cons are mentioned at:
34-
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
35-
#
36-
Pods/
37-
38-
# Carthage
39-
#
40-
# Add this line if you want to avoid checking in source code from Carthage dependencies.
41-
Carthage/Checkouts
42-
43-
Carthage/Build
44-
45-
# ---> Xcode
46-
# Xcode
47-
#
48-
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
49-
5020
## Build generated
51-
build/
21+
Build/
5222
DerivedData
5323

54-
## Various settings
55-
*.pbxuser
56-
!default.pbxuser
57-
*.mode1v3
58-
!default.mode1v3
59-
*.mode2v3
60-
!default.mode2v3
61-
*.perspectivev3
62-
!default.perspectivev3
63-
xcuserdata
64-
65-
## Other
66-
*.xccheckout
67-
*.moved-aside
68-
*.xcuserstate
69-
70-
# ---> OSX
24+
# macOS
7125
.DS_Store
7226
.AppleDouble
7327
.LSOverride
7428

75-
## IDAE
76-
.idea
77-
*/.idea
29+
# Carthage
30+
Carthage/

.gitmodules

-3
This file was deleted.

.jazzy.yaml

+83-38
Original file line numberDiff line numberDiff line change
@@ -6,47 +6,92 @@ github_url: https://github.com/Adyen/adyen-ios
66
readme: README.md
77

88
output: Docs
9-
10-
theme: Docs/theme
9+
theme: fullwidth
1110
skip_undocumented: false
1211
hide_documentation_coverage: true
1312

1413
custom_categories:
15-
- name: UI
16-
children:
17-
- CheckoutController
18-
- CheckoutControllerDelegate
19-
- name: Appearance
20-
children:
21-
- Appearance
22-
- name: Redirect
23-
children:
24-
- applicationDidOpen(_:)
25-
- name: Payment
26-
children:
27-
- PaymentController
28-
- PaymentControllerDelegate
29-
- PaymentSession
30-
- PaymentResult
31-
- name: Payment Method
32-
children:
33-
- SectionedPaymentMethods
34-
- PaymentMethod
35-
- PaymentDetail
36-
- AdditionalPaymentDetails
37-
- IdentificationPaymentDetails
38-
- ChallengePaymentDetails
39-
- StoredPaymentDetails
40-
- StoredCardPaymentDetails
41-
- StoredPayPalPaymentDetails
42-
- name: Other
14+
- name: Drop In Component
15+
children:
16+
- DropInComponent
17+
- DropInComponentDelegate
18+
- name: Card Component
19+
children:
20+
- CardComponent
21+
- CardDetails
22+
- CardEncryptor
23+
- CardType
24+
- CardTypeDetector
25+
- CardExpiryDateFormatter
26+
- CardExpiryDateValidator
27+
- CardSecurityCodeFormatter
28+
- CardSecurityCodeValidator
29+
- CardNumberFormatter
30+
- CardNumberValidator
31+
- name: 3D Secure 2 Component
32+
children:
33+
- ThreeDS2Component
34+
- ThreeDS2Details
35+
- name: SEPA Direct Debit Component
4336
children:
44-
- Completion
45-
- Result
46-
- Array
47-
- name: Card Module
37+
- SEPADirectDebitComponent
38+
- SEPADirectDebitDetails
39+
- IBANFormatter
40+
- IBANValidator
41+
- name: Issuer List Component
42+
children:
43+
- IssuerListComponent
44+
- IssuerListDetails
45+
- IdealComponent
46+
- IdealDetails
47+
- MOLPayComponent
48+
- MOLPayDetails
49+
- DotpayComponent
50+
- DotpayDetails
51+
- EPSComponent
52+
- EPSDetails
53+
- EntercashComponent
54+
- EntercashDetails
55+
- OpenBankingComponent
56+
- OpenBankingDetails
57+
- name: Redirect Component
58+
children:
59+
- RedirectComponent
60+
- RedirectDetails
61+
- name: Base Component
62+
children:
63+
- Component
64+
- PaymentComponent
65+
- PaymentComponentData
66+
- PaymentComponentDelegate
67+
- ActionComponent
68+
- ActionComponentData
69+
- ActionComponentDelegate
70+
- PresentableComponent
71+
- Details
72+
- PaymentMethodDetails
73+
- AdditionalDetails
74+
- ComponentError
75+
- name: Models
76+
children:
77+
- PaymentMethods
78+
- PaymentMethod
79+
- StoredPaymentMethod
80+
- StoredCardPaymentMethod
81+
- StoredPayPalPaymentMethod
82+
- CardPaymentMethod
83+
- IssuerListPaymentMethod
84+
- SEPADirectDebitPaymentMethod
85+
- ShopperInteraction
86+
- Payment
87+
- Action
88+
- RedirectAction
89+
- ThreeDS2FingerprintAction
90+
- ThreeDS2ChallengeAction
91+
- name: Other
4892
children:
49-
- Card3DS2Authenticator
50-
- CardEncryptor
51-
- CardScanDelegate
52-
- CardScanCompletion
93+
- Formatter
94+
- Validator
95+
- LengthValidator
96+
- Environment
97+
- LogoURLProvider

.swiftlint.yml

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
disabled_rules:
2-
- fallthrough
3-
- function_parameter_count
4-
- line_length
2+
- trailing_whitespace
53
- nesting
6-
- operator_whitespace
74
- todo
8-
- trailing_whitespace
9-
included:
10-
- Adyen
11-
- AdyenCard
12-
- AdyenInternal
13-
- AdyenSEPA
14-
- AdyenApplePay
5+
6+
opt_in_rules:
7+
- explicit_acl
8+
9+
excluded:
1510
- AdyenTests
1611
- AdyenUITests
17-
- AdyenUIHost
18-
excluded:
19-
- Pods
12+
- Examples
13+
- Internal
14+
15+
line_length:
16+
ignores_function_declarations: true
17+
ignores_urls: true
18+
warning: 140

.travis.yml

-18
This file was deleted.

Adyen.podspec

+18-34
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Pod::Spec.new do |s|
22
s.name = 'Adyen'
3-
s.version = '2.8.4'
4-
s.summary = "Adyen SDK for iOS"
3+
s.version = '3.0.0'
4+
s.summary = "Adyen Components for iOS"
55
s.description = <<-DESC
6-
With Adyen SDK you can dynamically list all relevant payment methods for a specific transaction, so your shoppers can always pay with the method of their choice. The methods are listed based on the shopper's country, the transaction currency and amount.
6+
Adyen Components for iOS allows you to accept in-app payments by providing you with the building blocks you need to create a checkout experience.
77
DESC
88

99
s.homepage = 'https://adyen.com'
@@ -14,47 +14,31 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = '10.3'
1515
s.swift_version = '5.0'
1616
s.frameworks = 'Foundation'
17-
s.default_subspecs = 'Core', 'Card', 'SEPA'
17+
s.default_subspecs = 'Core', 'Card', 'DropIn'
1818

1919
s.subspec 'Core' do |plugin|
2020
plugin.source_files = 'Adyen/**/*.swift'
21-
plugin.dependency 'AdyenInternal', "#{s.version}"
21+
plugin.resource_bundles = {
22+
'Adyen' => [
23+
'Adyen/Assets/**/*.strings'
24+
]
25+
}
2226
end
2327

24-
# Payment Methods
25-
s.subspec 'ApplePay' do |plugin|
26-
plugin.source_files = 'AdyenApplePay/**/*.swift'
28+
s.subspec 'DropIn' do |plugin|
29+
plugin.source_files = 'AdyenDropIn/**/*.swift'
2730
plugin.dependency 'Adyen/Core'
31+
plugin.dependency 'Adyen/Card'
2832
end
2933

34+
# Payment Methods
3035
s.subspec 'Card' do |plugin|
31-
plugin.xcconfig = { 'SWIFT_INCLUDE_PATHS' => '${PODS_TARGET_SRCROOT}/AdyenCard/AdyenCSE' }
32-
plugin.preserve_paths = 'AdyenCard/AdyenCSE/module.modulemap'
33-
plugin.dependency 'Adyen/Core'
34-
plugin.dependency 'Adyen3DS2', '2.1.0-rc.1'
35-
plugin.source_files = 'AdyenCard/**/*.swift', 'AdyenCard/AdyenCSE/*.{h,m}'
36-
plugin.private_header_files = 'AdyenCard/AdyenCSE/*.h'
37-
end
38-
39-
s.subspec 'SEPA' do |plugin|
40-
plugin.source_files = 'AdyenSEPA/**/*.swift'
41-
plugin.dependency 'Adyen/Core'
42-
end
43-
44-
s.subspec 'WeChatPay' do |plugin|
45-
plugin.source_files = 'AdyenWeChatPay/**/*.swift', 'AdyenWeChatPay/WeChatSDK/*.h'
46-
plugin.preserve_paths = 'AdyenWeChatPay/WeChatSDK/module.modulemap'
47-
plugin.dependency 'Adyen/Core'
48-
plugin.xcconfig = { 'SWIFT_INCLUDE_PATHS' => '${PODS_TARGET_SRCROOT}/AdyenWeChatPay/WeChatSDK' }
49-
plugin.private_header_files = 'AdyenWeChatPay/WeChatSDK/*.h'
50-
plugin.vendored_libraries = 'AdyenWeChatPay/WeChatSDK/libWeChatSDK.a'
51-
plugin.libraries = 'z', 'stdc++', 'sqlite3.0'
52-
plugin.frameworks = 'SystemConfiguration', 'CoreTelephony'
53-
end
54-
55-
s.subspec 'OpenInvoice' do |plugin|
56-
plugin.source_files = 'AdyenOpenInvoice/**/*.swift'
36+
plugin.xcconfig = { 'SWIFT_INCLUDE_PATHS' => '${PODS_TARGET_SRCROOT}/AdyenCard/Utilities/AdyenCSE' }
37+
plugin.preserve_paths = 'AdyenCard/Utilities/AdyenCSE/module.modulemap'
5738
plugin.dependency 'Adyen/Core'
39+
plugin.dependency 'Adyen3DS2'
40+
plugin.source_files = 'AdyenCard/**/*.swift', 'AdyenCard/Utilities/AdyenCSE/*.{h,m}'
41+
plugin.private_header_files = 'AdyenCard/Utilities/AdyenCSE/*.h'
5842
end
5943

6044
end

0 commit comments

Comments
 (0)