Skip to content

Commit

Permalink
release 1.3.14
Browse files Browse the repository at this point in the history
Changelog:
- MagicX native integration
- TouchNGo wallet support
  • Loading branch information
vivekshindhe committed Dec 16, 2024
1 parent 65f0d59 commit bbba21c
Show file tree
Hide file tree
Showing 117 changed files with 2,555 additions and 606 deletions.
Binary file modified Pod/Razorpay.xcframework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified Pod/Razorpay.xcframework/_CodeSignature/CodeRequirements-1
Binary file not shown.
342 changes: 261 additions & 81 deletions Pod/Razorpay.xcframework/_CodeSignature/CodeResources

Large diffs are not rendered by default.

Binary file modified Pod/Razorpay.xcframework/_CodeSignature/CodeSignature
Binary file not shown.
Binary file modified Pod/Razorpay.xcframework/ios-arm64/Razorpay.framework/Assets.car
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
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
#ifndef RAZORPAY_SWIFT_H
#define RAZORPAY_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -311,6 +311,12 @@ SWIFT_PROTOCOL("_TtP8Razorpay31ExternalWalletSelectionProtocol_")
- (void)onExternalWalletSelected:(NSString * _Nonnull)walletName withPaymentData:(NSDictionary * _Nullable)paymentData;
@end


SWIFT_PROTOCOL("_TtP8Razorpay20MagicXResultProtocol_")
@protocol MagicXResultProtocol
- (void)onCheckoutUrlGenerated:(NSString * _Nonnull)checkoutUrl;
@end

@class WKWebView;
@class WKNavigation;

Expand Down Expand Up @@ -360,6 +366,7 @@ SWIFT_CLASS("_TtC8Razorpay16RazorpayCheckout")
- (void)open:(NSDictionary * _Nonnull)options displayController:(UIViewController * _Nonnull)displayController arrExternalPaymentEntities:(NSArray<id <PluginPaymentDelegate>> * _Nonnull)arrExternalPaymentEntities;
+ (void)checkIntegrationWithMerchantKey:(NSString * _Nonnull)key;
- (void)open:(NSDictionary * _Nonnull)options arrExternalPaymentEntities:(NSArray<id <PluginPaymentDelegate>> * _Nonnull)arrExternalPaymentEntities;
- (void)openMagicXWithStorefrontUrl:(NSString * _Nonnull)storefrontUrl itemsData:(NSString * _Nonnull)itemsData withDelegate:(id <MagicXResultProtocol> _Nonnull)magicXProtocol;
- (void)close;
- (void)clearUserData;
@end
Expand Down
Binary file modified Pod/Razorpay.xcframework/ios-arm64/Razorpay.framework/Info.plist
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,69 @@
}
]
},
{
"kind": "TypeDecl",
"name": "MagicXResultProtocol",
"printedName": "MagicXResultProtocol",
"children": [
{
"kind": "Function",
"name": "onCheckoutUrlGenerated",
"printedName": "onCheckoutUrlGenerated(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Func",
"usr": "c:@M@Razorpay@objc(pl)MagicXResultProtocol(im)onCheckoutUrlGenerated:",
"mangledName": "$s8Razorpay20MagicXResultProtocolP22onCheckoutUrlGeneratedyySSF",
"moduleName": "Razorpay",
"genericSig": "<τ_0_0 where τ_0_0 : Razorpay.MagicXResultProtocol>",
"sugared_genericSig": "<Self where Self : Razorpay.MagicXResultProtocol>",
"protocolReq": true,
"declAttributes": [
"ObjC"
],
"reqNewWitnessTableEntry": true,
"funcSelfKind": "NonMutating"
}
],
"declKind": "Protocol",
"usr": "c:@M@Razorpay@objc(pl)MagicXResultProtocol",
"mangledName": "$s8Razorpay20MagicXResultProtocolP",
"moduleName": "Razorpay",
"genericSig": "<τ_0_0 : AnyObject>",
"sugared_genericSig": "<Self : AnyObject>",
"declAttributes": [
"AccessControl",
"ObjC"
],
"conformances": [
{
"kind": "Conformance",
"name": "Escapable",
"printedName": "Escapable",
"usr": "s:s9EscapableP",
"mangledName": "$ss9EscapableP"
},
{
"kind": "Conformance",
"name": "Copyable",
"printedName": "Copyable",
"usr": "s:s8CopyableP",
"mangledName": "$ss8CopyableP"
}
]
},
{
"kind": "Import",
"name": "Foundation",
Expand Down Expand Up @@ -1346,6 +1409,23 @@
"declKind": "Import",
"moduleName": "Razorpay"
},
{
"kind": "Import",
"name": "UIKit",
"printedName": "UIKit",
"declKind": "Import",
"moduleName": "Razorpay",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "Import",
"name": "WebKit",
"printedName": "WebKit",
"declKind": "Import",
"moduleName": "Razorpay"
},
{
"kind": "Import",
"name": "Foundation",
Expand Down Expand Up @@ -2335,6 +2415,48 @@
],
"funcSelfKind": "NonMutating"
},
{
"kind": "Function",
"name": "openMagicX",
"printedName": "openMagicX(storefrontUrl:itemsData:withDelegate:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
},
{
"kind": "TypeNominal",
"name": "MagicXResultProtocol",
"printedName": "any Razorpay.MagicXResultProtocol",
"usr": "c:@M@Razorpay@objc(pl)MagicXResultProtocol"
}
],
"declKind": "Func",
"usr": "c:@M@Razorpay@objc(cs)RazorpayCheckout(im)openMagicXWithStorefrontUrl:itemsData:withDelegate:",
"mangledName": "$s8Razorpay0A8CheckoutC10openMagicX13storefrontUrl9itemsData12withDelegateySS_SSAA0D15XResultProtocol_ptF",
"moduleName": "Razorpay",
"objc_name": "openMagicXWithStorefrontUrl:itemsData:withDelegate:",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{
"kind": "Function",
"name": "close",
Expand Down Expand Up @@ -2988,17 +3110,38 @@
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/InternalRazorpay.swift",
"kind": "IntegerLiteral",
"offset": 1029,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/InternalRazorpay.swift",
"kind": "BooleanLiteral",
"offset": 1055,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/InternalRazorpay.swift",
"kind": "BooleanLiteral",
"offset": 2897,
"offset": 1088,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/InternalRazorpay.swift",
"kind": "BooleanLiteral",
"offset": 2996,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/InternalRazorpay.swift",
"kind": "StringLiteral",
"offset": 10543,
"offset": 10779,
"length": 11,
"value": "\"rURIEvent\""
},
Expand Down Expand Up @@ -3261,6 +3404,27 @@
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/RazorpayMagicxVC.swift",
"kind": "StringLiteral",
"offset": 331,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/RazorpayMagicxVC.swift",
"kind": "StringLiteral",
"offset": 362,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/RazorpayMagicxVC.swift",
"kind": "StringLiteral",
"offset": 392,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/Otpelf\/OpinioatedSDKChecksHandler.swift",
"kind": "BooleanLiteral",
Expand Down Expand Up @@ -3413,7 +3577,7 @@
"kind": "StringLiteral",
"offset": 1317,
"length": 8,
"value": "\"1.3.13\""
"value": "\"1.3.14\""
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/Main\/Lumberjack.swift",
Expand Down Expand Up @@ -3646,24 +3810,31 @@
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/RazorpayCheckoutVC.swift",
"kind": "BooleanLiteral",
"offset": 846,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/RazorpayCheckoutVC.swift",
"kind": "StringLiteral",
"offset": 13111,
"offset": 13344,
"length": 14,
"value": "\"user_aborted\""
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/RazorpayCheckoutVC.swift",
"kind": "StringLiteral",
"offset": 13149,
"offset": 13382,
"length": 9,
"value": "\"success\""
},
{
"filePath": "\/Users\/vivek.shindhe\/Razorpay\/iOS\/razorpay-ios\/RazorpayIOS\/CheckoutOtpelf\/Classes\/RazorpayCheckoutVC.swift",
"kind": "StringLiteral",
"offset": 13181,
"offset": 13414,
"length": 8,
"value": "\"failed\""
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name Razorpay
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
import CommonCrypto
Expand Down Expand Up @@ -47,6 +47,9 @@ public typealias PluginPaymentError = Razorpay.ErrorDescribable & Swift.Error
@objc public protocol ExternalWalletSelectionProtocol {
@objc func onExternalWalletSelected(_ walletName: Swift.String, withPaymentData paymentData: [Swift.AnyHashable : Any]?)
}
@objc public protocol MagicXResultProtocol {
@objc func onCheckoutUrlGenerated(_ checkoutUrl: Swift.String)
}
@_hasMissingDesignatedInitializers @objc public class PluginPaymentModel : ObjectiveC.NSObject {
final public let merchantKey: Swift.String
final public let dictPaymentInformation: [Swift.AnyHashable : Any]
Expand Down Expand Up @@ -78,6 +81,7 @@ public struct CXError {
@objc final public func open(_ options: [Swift.AnyHashable : Any], displayController: UIKit.UIViewController, arrExternalPaymentEntities: [any Razorpay.PluginPaymentDelegate])
@objc public static func checkIntegration(withMerchantKey key: Swift.String)
@objc final public func open(_ options: [Swift.AnyHashable : Any], arrExternalPaymentEntities: [any Razorpay.PluginPaymentDelegate])
@objc final public func openMagicX(storefrontUrl: Swift.String, itemsData: Swift.String, withDelegate magicXProtocol: any Razorpay.MagicXResultProtocol)
@objc final public func close()
@objc final public func clearUserData()
@objc deinit
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name Razorpay
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
import CommonCrypto
Expand Down Expand Up @@ -47,6 +47,9 @@ public typealias PluginPaymentError = Razorpay.ErrorDescribable & Swift.Error
@objc public protocol ExternalWalletSelectionProtocol {
@objc func onExternalWalletSelected(_ walletName: Swift.String, withPaymentData paymentData: [Swift.AnyHashable : Any]?)
}
@objc public protocol MagicXResultProtocol {
@objc func onCheckoutUrlGenerated(_ checkoutUrl: Swift.String)
}
@_hasMissingDesignatedInitializers @objc public class PluginPaymentModel : ObjectiveC.NSObject {
final public let merchantKey: Swift.String
final public let dictPaymentInformation: [Swift.AnyHashable : Any]
Expand Down Expand Up @@ -78,6 +81,7 @@ public struct CXError {
@objc final public func open(_ options: [Swift.AnyHashable : Any], displayController: UIKit.UIViewController, arrExternalPaymentEntities: [any Razorpay.PluginPaymentDelegate])
@objc public static func checkIntegration(withMerchantKey key: Swift.String)
@objc final public func open(_ options: [Swift.AnyHashable : Any], arrExternalPaymentEntities: [any Razorpay.PluginPaymentDelegate])
@objc final public func openMagicX(storefrontUrl: Swift.String, itemsData: Swift.String, withDelegate magicXProtocol: any Razorpay.MagicXResultProtocol)
@objc final public func close()
@objc final public func clearUserData()
@objc deinit
Expand Down
Binary file modified Pod/Razorpay.xcframework/ios-arm64/Razorpay.framework/Razorpay
Binary file not shown.
Loading

0 comments on commit bbba21c

Please sign in to comment.