Skip to content

Commit

Permalink
feat: upgrade android and iOS SDK to 4.6.0 (#38)
Browse files Browse the repository at this point in the history
* upgrade android sdk and ios sdk to 4.6.0

* remove idea folder
  • Loading branch information
shreyasheww authored Oct 27, 2022
1 parent 7811305 commit af7835f
Show file tree
Hide file tree
Showing 141 changed files with 4,268 additions and 13,211 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {
}

dependencies {
implementation (name:"oppwa.mobile-4.5.0-release", ext:'aar')
implementation (name:"oppwa.mobile-4.6.0-release", ext:'aar')
debugImplementation (name: "ipworks3ds_sdk", ext:'aar')
releaseImplementation (name:"ipworks3ds_sdk_deploy", ext:'aar')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down
Binary file modified android/libs/ipworks3ds_sdk.aar
Binary file not shown.
Binary file modified android/libs/ipworks3ds_sdk_deploy.aar
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ flutter {
}

dependencies {
implementation (name:'oppwa.mobile-4.5.0-release', ext:'aar')
implementation (name:'oppwa.mobile-4.6.0-release', ext:'aar')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
14 changes: 7 additions & 7 deletions ios/OPPWAMobile.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>OPPWAMobile.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>OPPWAMobile.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ typedef NS_ENUM(NSInteger, OPPErrorCode) {
OPPErrorCodeVippsLink = 5003,

/// 3-D Secure 2 transaction error.
OPPErrorCodeThreeDS2Failure = 6000
OPPErrorCodeThreeDS2Failure = 6000,

/// Card Scanning general error.
OPPErrorCodeCardScanningGeneralError = 7000

};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile16OPPThreeDSConfig")
@property (nonatomic, copy) NSArray<NSString *> * _Nullable deviceParameterBlacklist;
/// UI configuration information that is used to specify the UI layout and theme of the challenge screens, for example, font style and font size.
@property (nonatomic, strong) UiCustomization * _Nonnull uiCustomization;
/// Merchant app URL used by Authentication app to call the Merchant app after OOB authentication has occurred.
@property (nonatomic, copy) NSString * _Nullable threeDSRequestorAppURL;
/// Creates an object representing configuration information to be applied at <code>OPPThreeDSService</code>.
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
Expand Down Expand Up @@ -471,6 +473,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
///
/// \param navigationController The navigation controller to start challenge
///
/// \param threeDSRequestorAppURL The requestor app URL string, required for OOB authentication.
///
/// \param challengeCallback The instance of <code>OPPThreeDSChallengeCallback</code> that is calling protocol method.
///
///
Expand All @@ -484,7 +488,7 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
/// <code>SDKRuntimeException</code> if some internal error occurred.
/// </li>
/// </ul>
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController threeDSRequestorAppURL:(NSString * _Nullable)threeDSRequestorAppURL challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
/// Returns the processing screen which displays the Directory Server logo, and a graphical element to indicate that an activity is being processed.
///
/// throws:
Expand Down Expand Up @@ -816,6 +820,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile16OPPThreeDSConfig")
@property (nonatomic, copy) NSArray<NSString *> * _Nullable deviceParameterBlacklist;
/// UI configuration information that is used to specify the UI layout and theme of the challenge screens, for example, font style and font size.
@property (nonatomic, strong) UiCustomization * _Nonnull uiCustomization;
/// Merchant app URL used by Authentication app to call the Merchant app after OOB authentication has occurred.
@property (nonatomic, copy) NSString * _Nullable threeDSRequestorAppURL;
/// Creates an object representing configuration information to be applied at <code>OPPThreeDSService</code>.
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
Expand Down Expand Up @@ -1016,6 +1022,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
///
/// \param navigationController The navigation controller to start challenge
///
/// \param threeDSRequestorAppURL The requestor app URL string, required for OOB authentication.
///
/// \param challengeCallback The instance of <code>OPPThreeDSChallengeCallback</code> that is calling protocol method.
///
///
Expand All @@ -1029,7 +1037,7 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
/// <code>SDKRuntimeException</code> if some internal error occurred.
/// </li>
/// </ul>
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController threeDSRequestorAppURL:(NSString * _Nullable)threeDSRequestorAppURL challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
/// Returns the processing screen which displays the Directory Server logo, and a graphical element to indicate that an activity is being processed.
///
/// throws:
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 @@ -17,6 +17,7 @@ import ipworks3ds_sdk
@objc public var locale: Swift.String?
@objc public var deviceParameterBlacklist: [Swift.String]?
@objc public var uiCustomization: ipworks3ds_sdk.UiCustomization
@objc public var threeDSRequestorAppURL: Swift.String?
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -74,7 +75,7 @@ import ipworks3ds_sdk
}
@_hasMissingDesignatedInitializers @objc public class OPPThreeDSTransaction : ObjectiveC.NSObject {
@objc public func getAuthRequestParams() throws -> Swift.String
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, threeDSRequestorAppURL: Swift.String?, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func getProgressView() throws -> ipworks3ds_sdk.ProgressView
@objc public func close() throws
@objc deinit
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import ipworks3ds_sdk
@objc public var locale: Swift.String?
@objc public var deviceParameterBlacklist: [Swift.String]?
@objc public var uiCustomization: ipworks3ds_sdk.UiCustomization
@objc public var threeDSRequestorAppURL: Swift.String?
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -74,7 +75,7 @@ import ipworks3ds_sdk
}
@_hasMissingDesignatedInitializers @objc public class OPPThreeDSTransaction : ObjectiveC.NSObject {
@objc public func getAuthRequestParams() throws -> Swift.String
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, threeDSRequestorAppURL: Swift.String?, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func getProgressView() throws -> ipworks3ds_sdk.ProgressView
@objc public func close() throws
@objc deinit
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import ipworks3ds_sdk
@objc public var locale: Swift.String?
@objc public var deviceParameterBlacklist: [Swift.String]?
@objc public var uiCustomization: ipworks3ds_sdk.UiCustomization
@objc public var threeDSRequestorAppURL: Swift.String?
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -74,7 +75,7 @@ import ipworks3ds_sdk
}
@_hasMissingDesignatedInitializers @objc public class OPPThreeDSTransaction : ObjectiveC.NSObject {
@objc public func getAuthRequestParams() throws -> Swift.String
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, threeDSRequestorAppURL: Swift.String?, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func getProgressView() throws -> ipworks3ds_sdk.ProgressView
@objc public func close() throws
@objc deinit
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import ipworks3ds_sdk
@objc public var locale: Swift.String?
@objc public var deviceParameterBlacklist: [Swift.String]?
@objc public var uiCustomization: ipworks3ds_sdk.UiCustomization
@objc public var threeDSRequestorAppURL: Swift.String?
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -74,7 +75,7 @@ import ipworks3ds_sdk
}
@_hasMissingDesignatedInitializers @objc public class OPPThreeDSTransaction : ObjectiveC.NSObject {
@objc public func getAuthRequestParams() throws -> Swift.String
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, threeDSRequestorAppURL: Swift.String?, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func getProgressView() throws -> ipworks3ds_sdk.ProgressView
@objc public func close() throws
@objc deinit
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import ipworks3ds_sdk
@objc public var locale: Swift.String?
@objc public var deviceParameterBlacklist: [Swift.String]?
@objc public var uiCustomization: ipworks3ds_sdk.UiCustomization
@objc public var threeDSRequestorAppURL: Swift.String?
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -74,7 +75,7 @@ import ipworks3ds_sdk
}
@_hasMissingDesignatedInitializers @objc public class OPPThreeDSTransaction : ObjectiveC.NSObject {
@objc public func getAuthRequestParams() throws -> Swift.String
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, threeDSRequestorAppURL: Swift.String?, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func getProgressView() throws -> ipworks3ds_sdk.ProgressView
@objc public func close() throws
@objc deinit
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 @@ -110,7 +110,11 @@ typedef NS_ENUM(NSInteger, OPPErrorCode) {
OPPErrorCodeVippsLink = 5003,

/// 3-D Secure 2 transaction error.
OPPErrorCodeThreeDS2Failure = 6000
OPPErrorCodeThreeDS2Failure = 6000,

/// Card Scanning general error.
OPPErrorCodeCardScanningGeneralError = 7000

};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile16OPPThreeDSConfig")
@property (nonatomic, copy) NSArray<NSString *> * _Nullable deviceParameterBlacklist;
/// UI configuration information that is used to specify the UI layout and theme of the challenge screens, for example, font style and font size.
@property (nonatomic, strong) UiCustomization * _Nonnull uiCustomization;
/// Merchant app URL used by Authentication app to call the Merchant app after OOB authentication has occurred.
@property (nonatomic, copy) NSString * _Nullable threeDSRequestorAppURL;
/// Creates an object representing configuration information to be applied at <code>OPPThreeDSService</code>.
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
Expand Down Expand Up @@ -471,6 +473,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
///
/// \param navigationController The navigation controller to start challenge
///
/// \param threeDSRequestorAppURL The requestor app URL string, required for OOB authentication.
///
/// \param challengeCallback The instance of <code>OPPThreeDSChallengeCallback</code> that is calling protocol method.
///
///
Expand All @@ -484,7 +488,7 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
/// <code>SDKRuntimeException</code> if some internal error occurred.
/// </li>
/// </ul>
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController threeDSRequestorAppURL:(NSString * _Nullable)threeDSRequestorAppURL challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
/// Returns the processing screen which displays the Directory Server logo, and a graphical element to indicate that an activity is being processed.
///
/// throws:
Expand Down Expand Up @@ -816,6 +820,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile16OPPThreeDSConfig")
@property (nonatomic, copy) NSArray<NSString *> * _Nullable deviceParameterBlacklist;
/// UI configuration information that is used to specify the UI layout and theme of the challenge screens, for example, font style and font size.
@property (nonatomic, strong) UiCustomization * _Nonnull uiCustomization;
/// Merchant app URL used by Authentication app to call the Merchant app after OOB authentication has occurred.
@property (nonatomic, copy) NSString * _Nullable threeDSRequestorAppURL;
/// Creates an object representing configuration information to be applied at <code>OPPThreeDSService</code>.
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
Expand Down Expand Up @@ -1016,6 +1022,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
///
/// \param navigationController The navigation controller to start challenge
///
/// \param threeDSRequestorAppURL The requestor app URL string, required for OOB authentication.
///
/// \param challengeCallback The instance of <code>OPPThreeDSChallengeCallback</code> that is calling protocol method.
///
///
Expand All @@ -1029,7 +1037,7 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
/// <code>SDKRuntimeException</code> if some internal error occurred.
/// </li>
/// </ul>
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController threeDSRequestorAppURL:(NSString * _Nullable)threeDSRequestorAppURL challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
/// Returns the processing screen which displays the Directory Server logo, and a graphical element to indicate that an activity is being processed.
///
/// throws:
Expand Down Expand Up @@ -1361,6 +1369,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile16OPPThreeDSConfig")
@property (nonatomic, copy) NSArray<NSString *> * _Nullable deviceParameterBlacklist;
/// UI configuration information that is used to specify the UI layout and theme of the challenge screens, for example, font style and font size.
@property (nonatomic, strong) UiCustomization * _Nonnull uiCustomization;
/// Merchant app URL used by Authentication app to call the Merchant app after OOB authentication has occurred.
@property (nonatomic, copy) NSString * _Nullable threeDSRequestorAppURL;
/// Creates an object representing configuration information to be applied at <code>OPPThreeDSService</code>.
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
Expand Down Expand Up @@ -1561,6 +1571,8 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
///
/// \param navigationController The navigation controller to start challenge
///
/// \param threeDSRequestorAppURL The requestor app URL string, required for OOB authentication.
///
/// \param challengeCallback The instance of <code>OPPThreeDSChallengeCallback</code> that is calling protocol method.
///
///
Expand All @@ -1574,7 +1586,7 @@ SWIFT_CLASS("_TtC11OPPWAMobile21OPPThreeDSTransaction")
/// <code>SDKRuntimeException</code> if some internal error occurred.
/// </li>
/// </ul>
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
- (BOOL)doChallengeWithAuthResponse:(NSString * _Nonnull)authResponse navigationController:(UINavigationController * _Nonnull)navigationController threeDSRequestorAppURL:(NSString * _Nullable)threeDSRequestorAppURL challengeCallback:(id <OPPThreeDSChallengeCallback> _Nonnull)challengeCallback error:(NSError * _Nullable * _Nullable)error;
/// Returns the processing screen which displays the Directory Server logo, and a graphical element to indicate that an activity is being processed.
///
/// throws:
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.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import ipworks3ds_sdk
@objc public var locale: Swift.String?
@objc public var deviceParameterBlacklist: [Swift.String]?
@objc public var uiCustomization: ipworks3ds_sdk.UiCustomization
@objc public var threeDSRequestorAppURL: Swift.String?
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -74,7 +75,7 @@ import ipworks3ds_sdk
}
@_hasMissingDesignatedInitializers @objc public class OPPThreeDSTransaction : ObjectiveC.NSObject {
@objc public func getAuthRequestParams() throws -> Swift.String
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, threeDSRequestorAppURL: Swift.String?, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func getProgressView() throws -> ipworks3ds_sdk.ProgressView
@objc public func close() throws
@objc deinit
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import ipworks3ds_sdk
@objc public var locale: Swift.String?
@objc public var deviceParameterBlacklist: [Swift.String]?
@objc public var uiCustomization: ipworks3ds_sdk.UiCustomization
@objc public var threeDSRequestorAppURL: Swift.String?
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -74,7 +75,7 @@ import ipworks3ds_sdk
}
@_hasMissingDesignatedInitializers @objc public class OPPThreeDSTransaction : ObjectiveC.NSObject {
@objc public func getAuthRequestParams() throws -> Swift.String
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func doChallenge(authResponse: Swift.String, navigationController: UIKit.UINavigationController, threeDSRequestorAppURL: Swift.String?, challengeCallback: OPPWAMobile.OPPThreeDSChallengeCallback) throws
@objc public func getProgressView() throws -> ipworks3ds_sdk.ProgressView
@objc public func close() throws
@objc deinit
Expand Down
Binary file not shown.
Loading

0 comments on commit af7835f

Please sign in to comment.