Enhancements
- Adds the ability to add a paywall exit survey. Surveys are configured via the dashboard and added to paywalls. When added to a paywall, it will attempt to display when the user taps the close button. If the paywall has the
modalPresentationStyle
ofpageSheet
,formSheet
, orpopover
, the survey will also attempt to display when the user tries to drag to dismiss the paywall. The probability of the survey showing is determined by the survey's configuration in the dashboard. A user will only ever see the survey once unless you reset responses via the dashboard. The survey will always show on exit of the paywall in the debugger. - Adds the ability to add
survey_response
as a trigger and use the selected option title in rules. - Adds new
PaywallCloseReason
.manualClose
.
Fixes
- Fixes a recursive issue that was happening if you forgot to configure the Superwall instance.
- Fixes issue where a preloaded
Paywall
object wouldn't have had an experiment available on itsinfo
property. - Fixes "error while deleting file" log on clean install of app.
- Exposes the
IdentityOptions
initializer. - Fixes thread safety issues.