When there is an implicit event that results in the dismissal and opening of a new paywall, the feature gating behaviour is overridden of the presented paywall.
When firing getImplicitPresentationResult or getPresentationResult, the paywall is not updated.
Checks the result of the implicit event before deciding to go ahead with internallyPresent. If it doesn't result in a paywall, it does not continue. This means we don't unnecessarily dismiss a paywall if the implicit trigger doesn't lead anywhere
Checklist
[x] All unit tests pass.
[x] 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
getImplicitPresentationResult
orgetPresentationResult
, the paywall is not updated.Checklist
CHANGELOG.md
for any breaking changes, enhancements, or bug fixes.swiftlint
in the main directory and fixed any issues.