Exposes triggerSessionId on the PaywallInfo object.
Makes PaywallSkippedReason conform to CustomStringConvertible.
Adds the Superwall SDK version and your app's version/build number to the debugger menu. Press the hamburger icon on the top left in the debugger to access it.
Fixes
Changes the way paywall presentation serialization is performed to avoid mixing of concurrency paradigms.
Prevents preloadAllPaywalls() from being called if the SDK is already preloading paywalls.
Fixes issue where experiment and trigger session details were missing from transaction events if a paywall was closed before returning a PurchaseResult in the PurchaseController.
Prevents multiple taps on a purchase button from firing the PurchaseController purchase function multiple times.
Tracks survey_response when selected in debugger.
Checklist
[x] All unit tests pass.
[x] All UI tests pass.
[x] Demo project builds and runs.
[x] I added/updated tests or detailed why my change isn't tested.
[x] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have run swiftlint in the main directory and fixed any issues.
[ ] I have updated the SDK documentation as well as the online docs.
Changes in this pull request
Enhancements
triggerSessionId
on thePaywallInfo
object.PaywallSkippedReason
conform toCustomStringConvertible
.Fixes
preloadAllPaywalls()
from being called if the SDK is already preloading paywalls.PurchaseResult
in thePurchaseController
.PurchaseController
purchase function multiple times.survey_response
when selected in debugger.Checklist
CHANGELOG.md
for any breaking changes, enhancements, or bug fixes.swiftlint
in the main directory and fixed any issues.