Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Paywall] Fix restoreStarted not being called on `presentPaywallIfNee…
…ded` when using `requiredEntitlementIdentifier` (#4223) ### Motivation `restoreStarted` callback was not being fired on `presentPaywallIfNeeded` when using `requiredEntitlementIdentifier` ### Description We weren't doing anything with the `restoreStarted` argument 🤦♂️ Now its getting passed along and gets called 💪 **BONUS:** Fixed two more that were missing in the footer (thanks @jamesrb1 🙌 )⚠️ We don't _really_ have a great way to test this right now 😬 All of our existing tests use the call some internal things so we can pass mocked customer info and intro eligibility checkers. So this didn't get caught earlier because its one level above those internal methods that do most of the testing.
- Loading branch information