-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from xendit/feat/CC-6266-support-spm
[CC-6266] support Swift Package Manager
- Loading branch information
Showing
169 changed files
with
4,395 additions
and
1,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_armv7</string> | ||
<key>LibraryPath</key> | ||
<string>CardinalMobile.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_i386_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>CardinalMobile.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> | ||
</dict> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+110 KB
CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/Assets.car
Binary file not shown.
Binary file added
BIN
+1.34 KB
...dinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib
Binary file not shown.
Binary file added
BIN
+1.34 KB
...v7/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib
Binary file not shown.
Binary file added
BIN
+1.35 KB
.../CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib
Binary file not shown.
Binary file added
BIN
+1.35 KB
..._armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib
Binary file not shown.
Binary file added
BIN
+14.5 KB
...obile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib
Binary file not shown.
Binary file added
BIN
+14.6 KB
...dinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib
Binary file not shown.
Binary file added
BIN
+381 Bytes
....xcframework/ios-arm64_armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist
Binary file not shown.
Binary file added
BIN
+1.73 KB
...ramework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib
Binary file not shown.
Binary file added
BIN
+1.73 KB
...bile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib
Binary file not shown.
Binary file added
BIN
+1.33 KB
...obile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib
Binary file not shown.
Binary file added
BIN
+2.16 KB
...dinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib
Binary file not shown.
Binary file added
BIN
+7.23 MB
CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CardinalMobile
Binary file not shown.
91 changes: 91 additions & 0 deletions
91
...mework/ios-arm64_armv7/CardinalMobile.framework/Headers/AuthenticationRequestParameters.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
// | ||
// AuthenticationRequestParameters.h | ||
// CardinalEMVCoSDK | ||
// | ||
// Copyright © 2018 Cardinal Commerce. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/** | ||
* The AuthenticationRequestParameters class holds transaction data that the App passes to the 3DS Server for creating the AReq. | ||
*/ | ||
@interface AuthenticationRequestParameters : NSObject | ||
|
||
- (id _Nonnull ) initWithSDKTransactionId: (NSString *_Nonnull) sdkTransactionId | ||
deviceData: (NSString *_Nonnull) deviceData | ||
sdkEphemeralPublicKey: (NSString *_Nonnull) sdkEphemeralPublicKey | ||
sdkAppID: (NSString *_Nonnull) sdkAppID | ||
sdkReferenceNumber: (NSString *_Nonnull) sdkReferenceNumber | ||
messageVersion: (NSString *_Nonnull) messageVersion; | ||
|
||
/** | ||
* @property sdkTransactionID SDK Transaction ID. | ||
*/ | ||
@property (nonnull, nonatomic, strong, readonly) NSString* sdkTransactionID; | ||
|
||
/** | ||
* @property deviceData Device data collected by the SDK. | ||
*/ | ||
@property (nullable, nonatomic, strong, readonly) NSString* deviceData; | ||
|
||
/** | ||
* @property sdkEphemeralPublicKey SDK Ephemeral Public Key (Qc). | ||
*/ | ||
@property (nonnull, nonatomic, strong, readonly) NSString* sdkEphemeralPublicKey; | ||
|
||
/** | ||
* @property sdkAppID SDK App ID. | ||
*/ | ||
@property (nonnull, nonatomic, strong, readonly) NSString* sdkAppID; | ||
|
||
/** | ||
* @property sdkReferenceNumber SDK Reference Number. | ||
*/ | ||
@property (nonnull, nonatomic, strong, readonly) NSString* sdkReferenceNumber; | ||
|
||
/** | ||
* @property messageVersion Protocol version that is supported by the SDK and used for the transaction. | ||
*/ | ||
@property (nonnull, nonatomic, strong, readonly) NSString* messageVersion; | ||
|
||
/** | ||
* The getDeviceData method returns the encrypted device data as a string. | ||
* @return NSString | ||
*/ | ||
- (NSString *_Nullable) getDeviceData; | ||
|
||
/** | ||
* The getSDKTransactionID method returns the SDK Transaction ID. | ||
* @return NSString | ||
*/ | ||
- (NSString *_Nonnull) getSDKTransactionID; | ||
|
||
/** | ||
* The getSDKAppID method returns the SDK App ID. | ||
* @return NSString | ||
*/ | ||
- (NSString *_Nonnull) getSDKAppID; | ||
|
||
/** | ||
* The getSDKReferenceNumber method returns the SDK Reference Number. | ||
* @return NSString | ||
*/ | ||
- (NSString *_Nonnull) getSDKReferenceNumber; | ||
|
||
/** | ||
* The getSDKEphemeralPublicKey method returns the SDK Ephemeral Public Key. | ||
* @return NSString | ||
*/ | ||
- (NSString *_Nonnull) getSDKEphemeralPublicKey; | ||
|
||
/** | ||
* The getMessageVersion method returns the protocol version that is used for the transaction. | ||
* @return NSString | ||
*/ | ||
- (NSString *_Nonnull) getMessageVersion; | ||
|
||
+ (instancetype _Nonnull )new NS_UNAVAILABLE; | ||
- (instancetype _Nonnull )init NS_UNAVAILABLE; | ||
|
||
@end |
25 changes: 25 additions & 0 deletions
25
...Mobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/Headers/ButtonCustomization.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// ButtonCustomization.h | ||
// CardinalEMVCoSDK | ||
// | ||
// Copyright © 2018 Cardinal Commerce. All rights reserved. | ||
// | ||
|
||
#import "Customization.h" | ||
|
||
/** | ||
* The ButtonCustomization class provides methods for the 3DS Requestor App to pass button customization parameters to the 3DS SDK. | ||
*/ | ||
@interface ButtonCustomization : Customization | ||
|
||
/** | ||
* @property backgroundColor Colour code in Hex format. For example, the colour code can be “#999999”. | ||
*/ | ||
@property (nonatomic, strong) NSString* backgroundColor; | ||
|
||
/** | ||
* @property cornerRadius Radius (integer value) for the button corners. | ||
*/ | ||
@property int cornerRadius; | ||
|
||
@end |
15 changes: 15 additions & 0 deletions
15
CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/Headers/CardinalCMSDK.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// CardinalEMVCoSDK.h | ||
// CardinalEMVCoSDK | ||
// | ||
// Copyright © 2018 Cardinal Commerce. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
#import <CardinalMobile/CardinalResponse.h> | ||
#import <CardinalMobile/CardinalSession.h> | ||
#import <CardinalMobile/CardinalSessionConfiguration.h> | ||
#import <CardinalMobile/CardinalSession.h> | ||
#import <CardinalMobile/CardinalStepUpDelegate.h> | ||
#import <CardinalMobile/DirectoryServerIDConst.h> |
23 changes: 23 additions & 0 deletions
23
...nalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/Headers/CardinalEMVCoSDK.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// CardinalEMVCoSDK.h | ||
// CardinalEMVCoSDK | ||
// | ||
// Copyright © 2018 Cardinal Commerce. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
#import <CardinalMobile/ThreeDS2Service.h> | ||
#import <CardinalMobile/Transaction.h> | ||
#import <CardinalMobile/ConfigParameters.h> | ||
#import <CardinalMobile/UiCustomization.h> | ||
|
||
#import <CardinalMobile/CardinalThreeDS2ServiceImpl.h> | ||
#import <CardinalMobile/CardinalTransaction.h> | ||
#import <CardinalMobile/ProgressDialog.h> | ||
#import <CardinalMobile/ChallengeStatusReceiver.h> | ||
#import <CardinalMobile/ChallengeParameters.h> | ||
#import <CardinalMobile/CompletionEvent.h> | ||
#import <CardinalMobile/RuntimeErrorEvent.h> | ||
#import <CardinalMobile/ProtocolErrorEvent.h> | ||
|
20 changes: 20 additions & 0 deletions
20
CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/Headers/CardinalMobile.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// CardinalMobile.h | ||
// CardinalMobile | ||
// | ||
// Created by Sudeep Tuladhar on 10/23/18. | ||
// Copyright © 2018 Cardinal Commerce. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for CardinalMobile. | ||
FOUNDATION_EXPORT double CardinalMobileVersionNumber; | ||
|
||
//! Project version string for CardinalMobile. | ||
FOUNDATION_EXPORT const unsigned char CardinalMobileVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <CardinalMobile/PublicHeader.h> | ||
|
||
#import <CardinalMobile/CardinalCMSDK.h> | ||
#import <CardinalMobile/CardinalEMVCoSDK.h> |
Oops, something went wrong.