Adds the ability for the SDK to refresh the Superwall configuration every session start.
Tracks a config_refresh Superwall event when the configuration is refreshed.
Removes all mentions of TriggerSession because this is no longer needed. Old trigger_session_id ids are now blank strings for backwards compatibility but should be removed in v4 of the SDK.
Removes webview process pool config because it's redundant.
Moves the logic from the PaywallManagergetViewController into a PaywallManagerLogic enum.
Fixes arithmetic overflow crash
Checklist
[x] All unit tests pass.
[ ] 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
config_refresh
Superwall event when the configuration is refreshed.TriggerSession
because this is no longer needed. Oldtrigger_session_id
ids are now blank strings for backwards compatibility but should be removed in v4 of the SDK.PaywallManager
getViewController
into aPaywallManagerLogic
enum.Checklist
CHANGELOG.md
for any breaking changes, enhancements, or bug fixes.swiftlint
in the main directory and fixed any issues.