Adds a custom_placement event that you can attach to any element in the paywall with a dictionary of parameters. When the element is tapped, the event will be tracked. The name of the placement can be used to trigger a paywall and its params used in audience filters.
Tracks a config_attributes event after calling Superwall.configure, which contains info about the configuration of the SDK. This gets tracked whenever you set the delegate.
Adds in device attributes tracking after setting the interface style override.
Adds close_reason to PaywallInfo properties.
Checklist
[x] All unit tests pass.
[ ] All UI tests pass.
[ ] 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
custom_placement
event that you can attach to any element in the paywall with a dictionary of parameters. When the element is tapped, the event will be tracked. The name of the placement can be used to trigger a paywall and its params used in audience filters.config_attributes
event after callingSuperwall.configure
, which contains info about the configuration of the SDK. This gets tracked whenever you set the delegate.close_reason
toPaywallInfo
properties.Checklist
CHANGELOG.md
for any breaking changes, enhancements, or bug fixes.swiftlint
in the main directory and fixed any issues.