Skip to content

Commit 8a9e27a

Browse files
DTPOMERSER-1001 Update Privacy manifest
1 parent 989b658 commit 8a9e27a

12 files changed

+33
-23
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
## Build generated
66
build/
7+
builds/
78
DerivedData/
89

910
## Various settings

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
Changelog
22
=========
3-
[1.0.0-beta19](https://github.com/hyperwallet/hyperwallet-ios-ui-sdk/releases/tag/1.0.0-beta18)
3+
[1.0.0-beta21](https://github.com/hyperwallet/hyperwallet-ios-ui-sdk/releases/tag/1.0.0-beta21)
4+
-------------------
5+
- Update privacy manifest
6+
7+
[1.0.0-beta20](https://github.com/hyperwallet/hyperwallet-ios-ui-sdk/releases/tag/1.0.0-beta20)
48
-------------------
59
- add security context
610

11+
[1.0.0-beta19](https://github.com/hyperwallet/hyperwallet-ios-ui-sdk/releases/tag/1.0.0-beta19)
12+
-------------------
13+
- Address swift lint issues
14+
715
[1.0.0-beta18](https://github.com/hyperwallet/hyperwallet-ios-ui-sdk/releases/tag/1.0.0-beta18)
816
-------------------
917
- Handle HTTP 401

Cartfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "hyperwallet/hyperwallet-ios-sdk" "1.0.0-beta19"
2-
github "hyperwallet/hyperwallet-ios-insight" "1.0.0-beta07"
1+
github "hyperwallet/hyperwallet-ios-sdk" "1.0.0-beta20"
2+
github "hyperwallet/hyperwallet-ios-insight" "1.0.0-beta08"

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "JanGorman/Hippolyte" "1.2.2"
1+
github "JanGorman/Hippolyte" "1.4.1"
22
github "httpswift/swifter" "1.5.0"

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github "JanGorman/Hippolyte" "1.2.2"
1+
github "JanGorman/Hippolyte" "1.4.1"
22
github "httpswift/swifter" "1.5.0"
3-
github "hyperwallet/hyperwallet-ios-insight" "1.0.0-beta06"
4-
github "hyperwallet/hyperwallet-ios-sdk" "1.0.0-beta18"
3+
github "hyperwallet/hyperwallet-ios-insight" "1.0.0-beta08"
4+
github "hyperwallet/hyperwallet-ios-sdk" "1.0.0-beta20"

Common/Sources/Extensions/UIAlertAction.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public extension UIAlertAction {
4242
/// - Parameter viewController: a view needs to show the alert dialog
4343
/// - Returns: a cancel alert action with a pop back handler
4444
static func cancel(_ viewController: UIViewController) -> UIAlertAction {
45-
let handler = { (_: UIAlertAction) -> Void in
45+
let handler = { (_: UIAlertAction) in
4646
viewController.navigationController?.popViewController(animated: true) }
4747
return cancel(handler)
4848
}
@@ -60,7 +60,7 @@ public extension UIAlertAction {
6060
/// - Parameter viewController: a view needs to show the alert dialog
6161
/// - Returns: a close alert action with a pop back handler
6262
static func close(_ viewController: UIViewController) -> UIAlertAction {
63-
let handler = { (_: UIAlertAction) -> Void in
63+
let handler = { (_: UIAlertAction) in
6464
viewController.navigationController?.popViewController(animated: true) }
6565
return close(handler)
6666
}

Common/Sources/HyperwalletUI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public final class HyperwalletUI: NSObject {
4343
/// it will be replaced.
4444
///
4545
/// - Parameter provider: a provider of Hyperwallet authentication tokens.
46-
public class func setup(_ provider: HyperwalletAuthenticationTokenProvider) {
46+
public static func setup(_ provider: HyperwalletAuthenticationTokenProvider) {
4747
if instance == nil {
4848
instance = HyperwalletUI(provider)
4949
}

HyperwalletUISDK.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'HyperwalletUISDK'
3-
spec.version = '1.0.0-beta20'
3+
spec.version = '1.0.0-beta21'
44
spec.summary = 'Hyperwallet UI SDK for iOS to integrate with Hyperwallet Platform'
55
spec.homepage = 'https://github.com/hyperwallet/hyperwallet-ios-ui-sdk'
66
spec.license = { :type => 'MIT', :file => 'LICENSE' }
@@ -10,14 +10,15 @@ Pod::Spec.new do |spec|
1010
spec.source = { :git => 'https://github.com/hyperwallet/hyperwallet-ios-ui-sdk.git', :tag => "#{spec.version}"}
1111
spec.requires_arc = true
1212
spec.swift_version = '5.0'
13-
spec.dependency 'HyperwalletSDK', '1.0.0-beta16'
13+
spec.dependency 'HyperwalletSDK', '1.0.0-beta20'
14+
spec.resource_bundles = {'HyperwalletUISDK' => ['PrivacyInfo.xcprivacy']}
1415

1516
spec.default_subspec = 'TransferMethod', 'Receipt', 'Transfer'
1617

1718
spec.subspec "Common" do |common|
1819
common.resources = ['Common/Sources/Resources/*', 'Common/**/*.xib', 'Common/**/*.strings']
1920
common.source_files = "Common/Sources/**/*.{swift,h}"
20-
common.dependency 'Insights', '1.0.0-beta05'
21+
common.dependency 'Insights', '1.0.0-beta08'
2122
end
2223

2324
spec.subspec "TransferMethodRepository" do |transferMethodRepository|

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@ Adding one or more of these frameworks allows users to explore the particular fu
3434
### Carthage
3535
Specify it in your Cartfile:
3636
```ogdl
37-
github "hyperwallet/hyperwallet-ios-ui-sdk" "1.0.0-beta18"
37+
github "hyperwallet/hyperwallet-ios-ui-sdk" "1.0.0-beta21"
3838
```
3939
Add desired modules using the `Linked Frameworks and Libraries` option to make them available in the app.
4040
Use `import <module-name>` to add the dependency within a file
4141

4242
### CocoaPods
4343
- Install a specific framework (install one or more frameworks based on your requirement)
4444
```ruby
45-
pod "HyperwalletUISDK/TransferMethod", "1.0.0-beta18"
46-
pod "HyperwalletUISDK/Transfer", "1.0.0-beta18"
47-
pod "HyperwalletUISDK/Receipt", "1.0.0-beta18"
45+
pod "HyperwalletUISDK/TransferMethod", "1.0.0-beta21"
46+
pod "HyperwalletUISDK/Transfer", "1.0.0-beta21"
47+
pod "HyperwalletUISDK/Receipt", "1.0.0-beta21"
4848
```
4949
- To install all available modules (TransferMethod, Transfer, Receipt)
5050
```ruby
51-
pod 'HyperwalletUISDK', '~> 1.0.0-beta18'
51+
pod 'HyperwalletUISDK', '~> 1.0.0-beta21'
5252
```
5353
Use `import HyperwalletUISDK` to add the dependency within a file.
5454

Transfer/Sources/ScheduleTransferPresenter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ final class ScheduleTransferPresenter {
109109
guard let statusTransition = resultStatusTransition else {
110110
return
111111
}
112-
view.showConfirmation(handler: { () -> Void in
112+
view.showConfirmation(handler: { () in
113113
view.notifyTransferScheduled(statusTransition)
114114
})
115115
}

0 commit comments

Comments
 (0)