Adds shouldShowPurchaseFailureAlert as a PaywallOption. This defaults to true. If you're using a PurchaseController, set this to false to disable the alert that shows after the purchase fails.
Fixes
Fixes issue where a secondary paywall wouldn't present with the transaction_fail trigger.
Fixes issue where the paywall preview wasn't obeying free trial/default paywall overrides.
Fixes issue where preloaded paywalls may be associated with the incorrect experiment.
Fixes the tests not being generated by xcodegen. That caused the launch arguments to not exist.
Checklist
[x] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, 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
shouldShowPurchaseFailureAlert
as aPaywallOption
. This defaults totrue
. If you're using aPurchaseController
, set this tofalse
to disable the alert that shows after the purchase fails.Fixes
transaction_fail
trigger.Checklist
CHANGELOG.md
for any breaking changes, enhancements, or bug fixes.swiftlint
in the main directory and fixed any issues.