Skip to content

Commit

Permalink
2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdalmeida committed Apr 13, 2023
1 parent ced2cb1 commit a92ad77
Show file tree
Hide file tree
Showing 392 changed files with 5,199 additions and 111 deletions.
2 changes: 1 addition & 1 deletion Adyen3DS2.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '2.3.0'
version = '2.3.1'

Pod::Spec.new do |spec|
spec.name = 'Adyen3DS2'
Expand Down
Binary file removed Dynamic/Adyen3DS2.framework/Adyen3DS2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Dynamic/Adyen3DS2.framework/Adyen3DS2.bundle/Info.plist
Binary file not shown.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ The SDK is available via [CocoaPods](http://cocoapods.org), [Carthage](https://g
2. Run `carthage update`.
3. Link the framework with your target as described in [Carthage Readme](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application).

### Dynamic Framework
### Dynamic xcFramework

Drag the dynamic `Adyen3DS2.framework` to the `Embedded Binaries` section in your general target settings. Select "Copy items if needed" when asked.
Drag the dynamic `XCFramework/Dynamic/Adyen3DS2.xcframework` to the `Frameworks, Libraries, and Embedded Content` section in your general target settings. Select "Copy items if needed" when asked.

### Static Framework
### Static xcFramework

1. In Xcode, select "File" and then "Add Files to...".
2. Select the static `Adyen3DS2.framework` and check "Copy items if needed", then select "Add".
3. In Xcode, select "File" and then "Add Files to...".
4. Select `Adyen3DS2.bundle` inside `Adyen3DS2.framework` and check "Copy items if needed", then select "Add".
1. Drag the static `XCFramework/Static/Adyen3DS2.xcframework` to the `Frameworks, Libraries, and Embedded Content` section in your general target settings.
2. Make sure the static `Adyen3DS2.xcframework` is not embedded.
3. Select `Adyen3DS2.bundle` inside `Adyen3DS2.xcframework` and check "Copy items if needed", then select "Add".

### Swift Package Manager

Expand Down Expand Up @@ -85,6 +84,8 @@ ADYChallengeParameters *parameters = [ADYChallengeParameters challengeParameters
ACSSignedContent:additionalData[@"threeds2.threeDS2ResponseData.acsSignedContent"]];
```

:warning: _Because of recent updates to the 3D Secure protocol, we strongly recommend that you provide the `threeDSRequestorAppURL` parameter as a [universal link](https://developer.apple.com/documentation/xcode/allowing-apps-and-websites-to-link-to-your-content?language=objc)._

Use these challenge parameters to perform the challenge with the `transaction` you created earlier:
```objc
[transaction performChallengeWithParameters:parameters completionHandler:^(ADYChallengeResult *result, NSError *error) {
Expand Down
Binary file removed Static/Adyen3DS2.framework/Adyen3DS2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Static/Adyen3DS2.framework/Adyen3DS2.bundle/Info.plist
Binary file not shown.
Binary file removed Static/Adyen3DS2.framework/Info.plist
Binary file not shown.
12 changes: 5 additions & 7 deletions XCFramework/Dynamic/Adyen3DS2.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,34 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>Adyen3DS2.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Adyen3DS2.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Adyen3DS2.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -46,7 +44,7 @@
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
割ញ�宁듚໚篑⋿攢왰띫跗�憖�祉퓤毘�꫹ꝼתּ铀冷࢚힞↥㙠煢ቦ궤鑧ﳴ笕ᇿ浈˝熚顤쇻ᢒ즆Ὅ麨啈𥉉쨰瓰쿿큔뉝Ⓠ럭댨褿쯀숅Ϥ
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
</data>
<key>American Express Encryption.der</key>
<data>
snCYjO7JNBJQKkWyMlCA24k7eug=
3s2qifExLGdjFyLvb62McxoLCXs=
</data>
<key>American Express Encryption.der.sha256</key>
<data>
ENMjJKFIqqIFT2hco6tx5JjF2tg=
ccKL2hjEc3idPdd6e9pFjWZoUHI=
</data>
<key>CUP Encryption.der</key>
<data>
Expand Down Expand Up @@ -140,6 +140,14 @@
<data>
3Uyy/Ylq3YBLfNRqnb/2aM2Y63A=
</data>
<key>eftpos_ds_public_key.der</key>
<data>
Z0xCzBXQ7TvOw2UEGuaIktPy7As=
</data>
<key>eftpos_ds_public_key.der.sha256</key>
<data>
BSXnQUmqUSWYMd3T203UVrt3n+w=
</data>
</dict>
<key>files2</key>
<dict>
Expand Down Expand Up @@ -213,22 +221,22 @@
<dict>
<key>hash</key>
<data>
snCYjO7JNBJQKkWyMlCA24k7eug=
3s2qifExLGdjFyLvb62McxoLCXs=
</data>
<key>hash2</key>
<data>
NCdEoR4qX8+jU/9n2UrGR1Qig9nt5YCYbGnqJ1YpTLk=
2MzUEMSPRv/EPSekgMOw5oCQL+iagz1oIx37B0nr9zQ=
</data>
</dict>
<key>American Express Encryption.der.sha256</key>
<dict>
<key>hash</key>
<data>
ENMjJKFIqqIFT2hco6tx5JjF2tg=
ccKL2hjEc3idPdd6e9pFjWZoUHI=
</data>
<key>hash2</key>
<data>
+j2BBLoM7mATeIX2dnTMxBkHCVeyrwWdFXSxdShqIbg=
M3ZqjgHTuYGLsN7+Nyms1+li+RWwNPi11sIQ6lBVUh8=
</data>
</dict>
<key>CUP Encryption.der</key>
Expand Down Expand Up @@ -517,6 +525,28 @@
Gc7+6ePdBjnMK//MaDa+MRuafjR0ML7fhyMtsrrPtfc=
</data>
</dict>
<key>eftpos_ds_public_key.der</key>
<dict>
<key>hash</key>
<data>
Z0xCzBXQ7TvOw2UEGuaIktPy7As=
</data>
<key>hash2</key>
<data>
duwpTIjHCZNzNhsDGEqTSbQzLOkd7jFT+Kdk4TImNao=
</data>
</dict>
<key>eftpos_ds_public_key.der.sha256</key>
<dict>
<key>hash</key>
<data>
BSXnQUmqUSWYMd3T203UVrt3n+w=
</data>
<key>hash2</key>
<data>
3uZwQzZmL9ciA4b0AKR/W0k1tlOiB1J/AZ2+qoH+ECE=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ typedef NS_ENUM(NSUInteger, ADYAppearanceButtonType) {
ADYAppearanceButtonTypeCancel,

/// Indicates the resend button.
ADYAppearanceButtonTypeResend
ADYAppearanceButtonTypeResend,

/// Indicates the OOB button.
ADYAppearanceButtonTypeOOB
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ NS_ASSUME_NONNULL_BEGIN
/**
A URL that is registered to open the 3DS Requestor App. It will be opened after an Out Of Band authentication has been completed.
This property will be ignored if the message version is 2.1.0.
Because of recent updates to the 3D Secure protocol, we strongly recommend that you provide the `threeDSRequestorAppURL` parameter as a [universal link](https://developer.apple.com/documentation/xcode/allowing-apps-and-websites-to-link-to-your-content?language=objc).
*/
@property (nonatomic, copy, readonly, nullable) NSURL *threeDSRequestorAppURL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
@protocol ADYProgressView <NSObject>

/**
A block that is invoked when the cancel button is selected.
*/
@property (nonatomic, copy, readwrite, nullable) void (^ady_cancelButtonHandler)(void);

/**
Shows the progress view on the current top-most view.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ NS_ASSUME_NONNULL_BEGIN
@param timeout The timeout interval in seconds in which the challenge process should be completed. Should be at least 300 seconds. There is no maximum value.
@param completionHandler The completion handler to invoke when the challenge flow is finished.
*/
- (void)performChallengeWithParameters:(ADYChallengeParameters *)challengeParameters timeout:(NSTimeInterval)timeout completionHandler:(ADYChallengeCompletionHandler)completionHandler;
- (void)performChallengeWithParameters:(ADYChallengeParameters *)challengeParameters
timeout:(NSTimeInterval)timeout
completionHandler:(ADYChallengeCompletionHandler)completionHandler;

/**
Cancels the current challenge flow.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ typedef NS_ENUM(NSUInteger, ADYAppearanceButtonType) {
ADYAppearanceButtonTypeCancel,

/// Indicates the resend button.
ADYAppearanceButtonTypeResend
ADYAppearanceButtonTypeResend,

/// Indicates the OOB button.
ADYAppearanceButtonTypeOOB
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ NS_ASSUME_NONNULL_BEGIN
/**
A URL that is registered to open the 3DS Requestor App. It will be opened after an Out Of Band authentication has been completed.
This property will be ignored if the message version is 2.1.0.
Because of recent updates to the 3D Secure protocol, we strongly recommend that you provide the `threeDSRequestorAppURL` parameter as a [universal link](https://developer.apple.com/documentation/xcode/allowing-apps-and-websites-to-link-to-your-content?language=objc).
*/
@property (nonatomic, copy, readonly, nullable) NSURL *threeDSRequestorAppURL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
@protocol ADYProgressView <NSObject>

/**
A block that is invoked when the cancel button is selected.
*/
@property (nonatomic, copy, readwrite, nullable) void (^ady_cancelButtonHandler)(void);

/**
Shows the progress view on the current top-most view.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ NS_ASSUME_NONNULL_BEGIN
@param timeout The timeout interval in seconds in which the challenge process should be completed. Should be at least 300 seconds. There is no maximum value.
@param completionHandler The completion handler to invoke when the challenge flow is finished.
*/
- (void)performChallengeWithParameters:(ADYChallengeParameters *)challengeParameters timeout:(NSTimeInterval)timeout completionHandler:(ADYChallengeCompletionHandler)completionHandler;
- (void)performChallengeWithParameters:(ADYChallengeParameters *)challengeParameters
timeout:(NSTimeInterval)timeout
completionHandler:(ADYChallengeCompletionHandler)completionHandler;

/**
Cancels the current challenge flow.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19H2</string>
<string>22E261</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleIdentifier</key>
Expand All @@ -15,29 +15,29 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.3.0</string>
<string>2.3.1</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>22</string>
<string>23</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12D4e</string>
<string></string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.1</string>
<string>13.3</string>
<key>DTSDKBuild</key>
<string>20C63</string>
<string>22E245</string>
<key>DTSDKName</key>
<string>macosx11.1</string>
<string>macosx13.3</string>
<key>DTXcode</key>
<string>1240</string>
<string>1430</string>
<key>DTXcodeBuild</key>
<string>12D4e</string>
<string>14E222b</string>
<key>LSMinimumSystemVersion</key>
<string>10.15</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
</data>
<key>Resources/American Express Encryption.der</key>
<data>
snCYjO7JNBJQKkWyMlCA24k7eug=
3s2qifExLGdjFyLvb62McxoLCXs=
</data>
<key>Resources/American Express Encryption.der.sha256</key>
<data>
ENMjJKFIqqIFT2hco6tx5JjF2tg=
ccKL2hjEc3idPdd6e9pFjWZoUHI=
</data>
<key>Resources/CUP Encryption.der</key>
<data>
Expand Down Expand Up @@ -140,6 +140,14 @@
<data>
3Uyy/Ylq3YBLfNRqnb/2aM2Y63A=
</data>
<key>Resources/eftpos_ds_public_key.der</key>
<data>
Z0xCzBXQ7TvOw2UEGuaIktPy7As=
</data>
<key>Resources/eftpos_ds_public_key.der.sha256</key>
<data>
BSXnQUmqUSWYMd3T203UVrt3n+w=
</data>
</dict>
<key>files2</key>
<dict>
Expand Down Expand Up @@ -213,22 +221,22 @@
<dict>
<key>hash</key>
<data>
snCYjO7JNBJQKkWyMlCA24k7eug=
3s2qifExLGdjFyLvb62McxoLCXs=
</data>
<key>hash2</key>
<data>
NCdEoR4qX8+jU/9n2UrGR1Qig9nt5YCYbGnqJ1YpTLk=
2MzUEMSPRv/EPSekgMOw5oCQL+iagz1oIx37B0nr9zQ=
</data>
</dict>
<key>Resources/American Express Encryption.der.sha256</key>
<dict>
<key>hash</key>
<data>
ENMjJKFIqqIFT2hco6tx5JjF2tg=
ccKL2hjEc3idPdd6e9pFjWZoUHI=
</data>
<key>hash2</key>
<data>
+j2BBLoM7mATeIX2dnTMxBkHCVeyrwWdFXSxdShqIbg=
M3ZqjgHTuYGLsN7+Nyms1+li+RWwNPi11sIQ6lBVUh8=
</data>
</dict>
<key>Resources/CUP Encryption.der</key>
Expand Down Expand Up @@ -517,6 +525,28 @@
Gc7+6ePdBjnMK//MaDa+MRuafjR0ML7fhyMtsrrPtfc=
</data>
</dict>
<key>Resources/eftpos_ds_public_key.der</key>
<dict>
<key>hash</key>
<data>
Z0xCzBXQ7TvOw2UEGuaIktPy7As=
</data>
<key>hash2</key>
<data>
duwpTIjHCZNzNhsDGEqTSbQzLOkd7jFT+Kdk4TImNao=
</data>
</dict>
<key>Resources/eftpos_ds_public_key.der.sha256</key>
<dict>
<key>hash</key>
<data>
BSXnQUmqUSWYMd3T203UVrt3n+w=
</data>
<key>hash2</key>
<data>
3uZwQzZmL9ciA4b0AKR/W0k1tlOiB1J/AZ2+qoH+ECE=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
Expand Down
Binary file not shown.
Loading

0 comments on commit a92ad77

Please sign in to comment.