Enhancements
- Adds
sdkVersion
,sdkVersionPadded
,appBuildString
, andappBuildStringNumber
to the device object for use in rules.sdkVersion
is the version of the sdk, e.g.3.4.0
.sdkVersionPadded
is the sdk version padded with zeros for use with string comparison. For example003.004.000
.appBuildString
is the build of your app andappBuildStringNumber
is the build of your app casted as an Int (if possible). - When you experience
no_rule_match
, theTriggerFire
event params will specify which part of the rules didn't match in the format"unmatched_rule_<id>": "<outcome>"
. Whereoutcome
will either beOCCURRENCE
, referring to the limit applied to a rule, orEXPRESSION
. Theid
is the experiment id. - Adds a
touches_began
implicit trigger. By adding thetouches_began
event to a campaign, you can show a paywall the first time a user touches anywhere in your app. - Adds the ability to include a close button on a survey.
- If running in sandbox, the duration of a free trial notification added to a paywall will be converted from days to minutes for testing purposes.
- Adds the ability to show a survey after purchasing a product.
Fixes
- Fixes issue where a survey attached to a paywall wouldn't show if you were also using the
paywall_decline
trigger. - Fixes issue where verification was happening after the finishing of transactions when not using a
PurchaseController
. - Fixes issue where the retrieved
StoreTransaction
associated with the purchased product may benil
. - Fixes issue where a
presentationRequest
wasn't being tracked for implicit triggers likesession_start
when there was no internet.