Skip to content

Commit a0c1f30

Browse files
authored
Merge pull request #305 from superwall/develop
4.0.5
2 parents 64f2efa + fef47ed commit a0c1f30

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
The changelog for `SuperwallKit`. Also see the [releases](https://github.com/superwall/Superwall-iOS/releases) on GitHub.
44

5+
## 4.0.5
6+
7+
### Fixes
8+
9+
- Fixes a visionOS build-time issue.
10+
511
## 4.0.4
612

713
### Fixes

Sources/SuperwallKit/Misc/Constants.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ let sdkVersion = """
1818
*/
1919

2020
let sdkVersion = """
21-
4.0.4
21+
4.0.5
2222
"""

Sources/SuperwallKit/StoreKit/Transactions/Purchasing/StoreKit 2/ProductPurchaserSK2.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ final class ProductPurchaserSK2: Purchasing {
9999
guard let scene = await UIApplication.shared.connectedScenes.first else {
100100
return .cancelled
101101
}
102-
result = try await product.purchase(options: options, confirmIn: scene)
102+
result = try await product.purchase(confirmIn: scene, options: options)
103103
#else
104104
result = try await product.purchase(options: options)
105105
#endif

SuperwallKit.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "SuperwallKit"
4-
s.version = "4.0.4"
4+
s.version = "4.0.5"
55
s.summary = "Superwall: In-App Paywalls Made Easy"
66
s.description = "Paywall infrastructure for mobile apps :) we make things like editing your paywall and running price tests as easy as clicking a few buttons. superwall.com"
77

0 commit comments

Comments
 (0)