Skip to content

Commit 4e8f706

Browse files
committed
Hotfix for handleSuperwallPlacement
Had to move the `handleSuperwallPlacement` extension from the graveyard to the normal delegate extension because it was being weird.
1 parent baee013 commit 4e8f706

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

5-
## 4.0.2
5+
## 4.0.3
66

77
### Enhancements
88

Sources/SuperwallKit/Delegate/SuperwallDelegate.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ extension SuperwallDelegate {
131131

132132
public func handleSuperwallEvent(withInfo eventInfo: SuperwallEventInfo) {}
133133

134+
@available(*, deprecated, renamed: "handleSuperwallEvent(withInfo:)")
135+
public func handleSuperwallPlacement(withInfo placementInfo: SuperwallPlacementInfo) {}
136+
134137
public func handleLog(
135138
level: String,
136139
scope: String,

Sources/SuperwallKit/Graveyard/SuperwallGraveyard.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ extension Superwall {
141141
}
142142
}
143143

144-
extension SuperwallDelegate {
145-
@MainActor
146-
@available(*, deprecated, renamed: "handleSuperwallEvent(withInfo:)")
147-
func handleSuperwallPlacement(withInfo placementInfo: SuperwallPlacementInfo) {}
148-
}
149-
150144
@available(*, unavailable, renamed: "ProductStore")
151145
public enum Store: Int {
152146
case appStore

Sources/SuperwallKit/Misc/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ let sdkVersion = """
1818
*/
1919

2020
let sdkVersion = """
21-
4.0.2
21+
4.0.3
2222
"""

SuperwallKit.podspec

Lines changed: 1 addition & 1 deletion
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.2"
4+
s.version = "4.0.3"
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)