-
Notifications
You must be signed in to change notification settings - Fork 49
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 #116 from checkout/develop
Release 3.5.1
- Loading branch information
Showing
164 changed files
with
1,865 additions
and
659 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
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
struct Constants { | ||
|
||
static let productName = "frames-ios-sdk" | ||
static let version = "3.5.0" | ||
static let version = "3.5.1" | ||
static let userAgent = "checkout-sdk-frames-ios/\(version)" | ||
|
||
} |
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,38 @@ | ||
// | ||
// ResourcesTests.swift | ||
// Frames-Unit-Tests | ||
// | ||
// Created by Harry Brown on 12/10/2021. | ||
// | ||
|
||
import XCTest | ||
@testable import Frames | ||
|
||
final class ResourcesTests: XCTestCase { | ||
|
||
func test_findExpectedResources() { | ||
|
||
#if SWIFT_PACKAGE | ||
let framesResourceBundlePath = "Frames_Frames" | ||
#endif | ||
|
||
#if COCOAPODS | ||
let framesResourceBundlePath = "Frames" | ||
#endif | ||
|
||
let framesTopLevelBundle = Bundle(for: CheckoutAPIClient.self) | ||
guard let framesResourceBundleURL = framesTopLevelBundle.url(forResource: framesResourceBundlePath, withExtension: "bundle") else { | ||
XCTFail("could not find resource bundle url") | ||
return | ||
} | ||
|
||
guard let framesResourceBundle = Bundle(url: framesResourceBundleURL) else { | ||
XCTFail("could not find internal bundle") | ||
return | ||
} | ||
|
||
XCTAssertEqual(framesResourceBundle.localizations.count, 6) | ||
XCTAssertNotNil(framesResourceBundle.url(forResource: "icon-amex", withExtension: "png")) | ||
} | ||
} | ||
|
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
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
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
Oops, something went wrong.