Skip to content

Commit 828c48a

Browse files
[Release] | 3.8.0 (#48)
1 parent d28e749 commit 828c48a

73 files changed

Lines changed: 4281 additions & 511 deletions

File tree

Some content is hidden

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

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Changelog
22
All notable changes to this project will be documented in this file. To know better on how to write and maintain a changelog, refer to [this link](https://keepachangelog.com/en/1.0.0/).
33

4+
## [3.8.0] - Manual Redirect Retry
5+
6+
### Changed
7+
- Some bank apps don't work very well, so when a user is redirect from the SDK to a banking app of their choice, oftentimes they would get stuck. There's a new system in place where the SDK will attempt to reload the payment to then allow the user to try tapping the "Go to bank" button again.
8+
9+
Implementation-wise, this means :
10+
1. The SDK is only created, configured, and presented once per payment, and that same SDK instance is used start-to-finish until the payment fails or succeeds.
11+
2. The `.redirect` case is no longer sent by the SDK for the client app to handle, and is deprecated.
12+
13+
Other than that, your previous SDK configuration/handling code should remain fully compatible without a need for any updates.
14+
415
## [3.2.2] - Accessibility & QoL
516

617
### Added

Frameworks/TrueLayerAPI.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@
88
<key>BinaryPath</key>
99
<string>TrueLayerAPI.framework/TrueLayerAPI</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64</string>
11+
<string>ios-arm64_x86_64-simulator</string>
1212
<key>LibraryPath</key>
1313
<string>TrueLayerAPI.framework</string>
1414
<key>SupportedArchitectures</key>
1515
<array>
1616
<string>arm64</string>
17+
<string>x86_64</string>
1718
</array>
1819
<key>SupportedPlatform</key>
1920
<string>ios</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>simulator</string>
2023
</dict>
2124
<dict>
2225
<key>BinaryPath</key>
2326
<string>TrueLayerAPI.framework/TrueLayerAPI</string>
2427
<key>LibraryIdentifier</key>
25-
<string>ios-arm64_x86_64-simulator</string>
28+
<string>ios-arm64</string>
2629
<key>LibraryPath</key>
2730
<string>TrueLayerAPI.framework</string>
2831
<key>SupportedArchitectures</key>
2932
<array>
3033
<string>arm64</string>
31-
<string>x86_64</string>
3234
</array>
3335
<key>SupportedPlatform</key>
3436
<string>ios</string>
35-
<key>SupportedPlatformVariant</key>
36-
<string>simulator</string>
3737
</dict>
3838
</array>
3939
<key>CFBundlePackageType</key>

Frameworks/TrueLayerArchitecture.xcframework/ios-arm64/TrueLayerArchitecture.framework/Modules/TrueLayerArchitecture.swiftmodule/arm64-apple-ios.abi.json

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,6 +2255,16 @@
22552255
}
22562256
]
22572257
},
2258+
{
2259+
"kind": "Import",
2260+
"name": "TrueLayerLogger",
2261+
"printedName": "TrueLayerLogger",
2262+
"declKind": "Import",
2263+
"moduleName": "TrueLayerArchitecture",
2264+
"declAttributes": [
2265+
"SPIAccessControl"
2266+
]
2267+
},
22582268
{
22592269
"kind": "Import",
22602270
"name": "UIKit",
@@ -2390,7 +2400,7 @@
23902400
{
23912401
"kind": "Function",
23922402
"name": "start",
2393-
"printedName": "start(on:animated:)",
2403+
"printedName": "start(on:animated:onRestart:)",
23942404
"children": [
23952405
{
23962406
"kind": "TypeNominal",
@@ -2409,11 +2419,30 @@
24092419
"printedName": "Swift.Bool",
24102420
"hasDefaultArg": true,
24112421
"usr": "s:Sb"
2422+
},
2423+
{
2424+
"kind": "TypeFunc",
2425+
"name": "Function",
2426+
"printedName": "(UIKit.UIViewController) -> ()",
2427+
"children": [
2428+
{
2429+
"kind": "TypeNominal",
2430+
"name": "Void",
2431+
"printedName": "()"
2432+
},
2433+
{
2434+
"kind": "TypeNominal",
2435+
"name": "UIViewController",
2436+
"printedName": "UIKit.UIViewController",
2437+
"usr": "c:objc(cs)UIViewController"
2438+
}
2439+
],
2440+
"hasDefaultArg": true
24122441
}
24132442
],
24142443
"declKind": "Func",
2415-
"usr": "s:21TrueLayerArchitecture6RouterC5start2on8animatedySo16UIViewControllerC_SbtF",
2416-
"mangledName": "$s21TrueLayerArchitecture6RouterC5start2on8animatedySo16UIViewControllerC_SbtF",
2444+
"usr": "s:21TrueLayerArchitecture6RouterC5start2on8animated0F7RestartySo16UIViewControllerC_SbyAIScMYcctF",
2445+
"mangledName": "$s21TrueLayerArchitecture6RouterC5start2on8animated0F7RestartySo16UIViewControllerC_SbyAIScMYcctF",
24172446
"moduleName": "TrueLayerArchitecture",
24182447
"declAttributes": [
24192448
"Custom",
@@ -6156,35 +6185,35 @@
61566185
{
61576186
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61586187
"kind": "BooleanLiteral",
6159-
"offset": 1085,
6188+
"offset": 1773,
61606189
"length": 5,
61616190
"value": "false"
61626191
},
61636192
{
61646193
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61656194
"kind": "BooleanLiteral",
6166-
"offset": 1731,
6195+
"offset": 2761,
61676196
"length": 4,
61686197
"value": "true"
61696198
},
61706199
{
61716200
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61726201
"kind": "BooleanLiteral",
6173-
"offset": 2907,
6202+
"offset": 3937,
61746203
"length": 4,
61756204
"value": "true"
61766205
},
61776206
{
61786207
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61796208
"kind": "BooleanLiteral",
6180-
"offset": 4279,
6209+
"offset": 5309,
61816210
"length": 4,
61826211
"value": "true"
61836212
},
61846213
{
61856214
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61866215
"kind": "BooleanLiteral",
6187-
"offset": 4789,
6216+
"offset": 5819,
61886217
"length": 4,
61896218
"value": "true"
61906219
}

Frameworks/TrueLayerArchitecture.xcframework/ios-arm64/TrueLayerArchitecture.framework/Modules/TrueLayerArchitecture.swiftmodule/arm64-apple-ios.private.swiftinterface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public protocol Routable : AnyObject {
108108
get
109109
}
110110
nonisolated public init(rootViewController: UIKit.UIViewController)
111-
@_Concurrency.MainActor public func start(on viewController: UIKit.UIViewController, animated: Swift.Bool = false)
111+
@_Concurrency.MainActor public func start(on viewController: UIKit.UIViewController, animated: Swift.Bool = false, onRestart: @escaping @_Concurrency.MainActor (UIKit.UIViewController) -> Swift.Void = { _ in })
112112
@_Concurrency.MainActor public func show<Route>(routeIdentifier: Route, context: Any? = nil, animated: Swift.Bool = true, completion: TrueLayerArchitecture.RoutingCompletion? = nil) where Route : Swift.RawRepresentable, Route.RawValue == Swift.String
113113
@_Concurrency.MainActor public func hide<Route>(routeIdentifier: Route, animated: Swift.Bool = true, completion: TrueLayerArchitecture.RoutingCompletion? = nil) where Route : Swift.RawRepresentable, Route.RawValue == Swift.String
114114
@_Concurrency.MainActor public func popTo(viewController: UIKit.UIViewController, animated: Swift.Bool = true)

Frameworks/TrueLayerArchitecture.xcframework/ios-arm64/TrueLayerArchitecture.framework/Modules/TrueLayerArchitecture.swiftmodule/arm64-apple-ios.swiftinterface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public protocol Routable : AnyObject {
2222
get
2323
}
2424
nonisolated public init(rootViewController: UIKit.UIViewController)
25-
@_Concurrency.MainActor public func start(on viewController: UIKit.UIViewController, animated: Swift.Bool = false)
25+
@_Concurrency.MainActor public func start(on viewController: UIKit.UIViewController, animated: Swift.Bool = false, onRestart: @escaping @_Concurrency.MainActor (UIKit.UIViewController) -> Swift.Void = { _ in })
2626
@_Concurrency.MainActor public func show<Route>(routeIdentifier: Route, context: Any? = nil, animated: Swift.Bool = true, completion: TrueLayerArchitecture.RoutingCompletion? = nil) where Route : Swift.RawRepresentable, Route.RawValue == Swift.String
2727
@_Concurrency.MainActor public func hide<Route>(routeIdentifier: Route, animated: Swift.Bool = true, completion: TrueLayerArchitecture.RoutingCompletion? = nil) where Route : Swift.RawRepresentable, Route.RawValue == Swift.String
2828
@_Concurrency.MainActor public func popTo(viewController: UIKit.UIViewController, animated: Swift.Bool = true)

Frameworks/TrueLayerArchitecture.xcframework/ios-arm64_x86_64-simulator/TrueLayerArchitecture.framework/Modules/TrueLayerArchitecture.swiftmodule/arm64-apple-ios-simulator.abi.json

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,6 +2255,16 @@
22552255
}
22562256
]
22572257
},
2258+
{
2259+
"kind": "Import",
2260+
"name": "TrueLayerLogger",
2261+
"printedName": "TrueLayerLogger",
2262+
"declKind": "Import",
2263+
"moduleName": "TrueLayerArchitecture",
2264+
"declAttributes": [
2265+
"SPIAccessControl"
2266+
]
2267+
},
22582268
{
22592269
"kind": "Import",
22602270
"name": "UIKit",
@@ -2390,7 +2400,7 @@
23902400
{
23912401
"kind": "Function",
23922402
"name": "start",
2393-
"printedName": "start(on:animated:)",
2403+
"printedName": "start(on:animated:onRestart:)",
23942404
"children": [
23952405
{
23962406
"kind": "TypeNominal",
@@ -2409,11 +2419,30 @@
24092419
"printedName": "Swift.Bool",
24102420
"hasDefaultArg": true,
24112421
"usr": "s:Sb"
2422+
},
2423+
{
2424+
"kind": "TypeFunc",
2425+
"name": "Function",
2426+
"printedName": "(UIKit.UIViewController) -> ()",
2427+
"children": [
2428+
{
2429+
"kind": "TypeNominal",
2430+
"name": "Void",
2431+
"printedName": "()"
2432+
},
2433+
{
2434+
"kind": "TypeNominal",
2435+
"name": "UIViewController",
2436+
"printedName": "UIKit.UIViewController",
2437+
"usr": "c:objc(cs)UIViewController"
2438+
}
2439+
],
2440+
"hasDefaultArg": true
24122441
}
24132442
],
24142443
"declKind": "Func",
2415-
"usr": "s:21TrueLayerArchitecture6RouterC5start2on8animatedySo16UIViewControllerC_SbtF",
2416-
"mangledName": "$s21TrueLayerArchitecture6RouterC5start2on8animatedySo16UIViewControllerC_SbtF",
2444+
"usr": "s:21TrueLayerArchitecture6RouterC5start2on8animated0F7RestartySo16UIViewControllerC_SbyAIScMYcctF",
2445+
"mangledName": "$s21TrueLayerArchitecture6RouterC5start2on8animated0F7RestartySo16UIViewControllerC_SbyAIScMYcctF",
24172446
"moduleName": "TrueLayerArchitecture",
24182447
"declAttributes": [
24192448
"Custom",
@@ -6156,35 +6185,35 @@
61566185
{
61576186
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61586187
"kind": "BooleanLiteral",
6159-
"offset": 1085,
6188+
"offset": 1773,
61606189
"length": 5,
61616190
"value": "false"
61626191
},
61636192
{
61646193
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61656194
"kind": "BooleanLiteral",
6166-
"offset": 1731,
6195+
"offset": 2761,
61676196
"length": 4,
61686197
"value": "true"
61696198
},
61706199
{
61716200
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61726201
"kind": "BooleanLiteral",
6173-
"offset": 2907,
6202+
"offset": 3937,
61746203
"length": 4,
61756204
"value": "true"
61766205
},
61776206
{
61786207
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61796208
"kind": "BooleanLiteral",
6180-
"offset": 4279,
6209+
"offset": 5309,
61816210
"length": 4,
61826211
"value": "true"
61836212
},
61846213
{
61856214
"filePath": "\/Users\/yury.vaschylau\/Documents\/TrueLayer\/iOS-SDK\/SDK\/Sources\/Architecture\/Navigation\/Router.swift",
61866215
"kind": "BooleanLiteral",
6187-
"offset": 4789,
6216+
"offset": 5819,
61886217
"length": 4,
61896218
"value": "true"
61906219
}

Frameworks/TrueLayerArchitecture.xcframework/ios-arm64_x86_64-simulator/TrueLayerArchitecture.framework/Modules/TrueLayerArchitecture.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public protocol Routable : AnyObject {
108108
get
109109
}
110110
nonisolated public init(rootViewController: UIKit.UIViewController)
111-
@_Concurrency.MainActor public func start(on viewController: UIKit.UIViewController, animated: Swift.Bool = false)
111+
@_Concurrency.MainActor public func start(on viewController: UIKit.UIViewController, animated: Swift.Bool = false, onRestart: @escaping @_Concurrency.MainActor (UIKit.UIViewController) -> Swift.Void = { _ in })
112112
@_Concurrency.MainActor public func show<Route>(routeIdentifier: Route, context: Any? = nil, animated: Swift.Bool = true, completion: TrueLayerArchitecture.RoutingCompletion? = nil) where Route : Swift.RawRepresentable, Route.RawValue == Swift.String
113113
@_Concurrency.MainActor public func hide<Route>(routeIdentifier: Route, animated: Swift.Bool = true, completion: TrueLayerArchitecture.RoutingCompletion? = nil) where Route : Swift.RawRepresentable, Route.RawValue == Swift.String
114114
@_Concurrency.MainActor public func popTo(viewController: UIKit.UIViewController, animated: Swift.Bool = true)

0 commit comments

Comments
 (0)