Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paywalls: new .onRestoreStarted modifier #3694

Merged
merged 3 commits into from
Feb 19, 2024
Merged

Paywalls: new .onRestoreStarted modifier #3694

merged 3 commits into from
Feb 19, 2024

Conversation

vegaro
Copy link
Contributor

@vegaro vegaro commented Feb 15, 2024

Similar to #3627.

This API is available in:

  • PaywallView()
  • .presentPaywallIfNeeded
  • .paywallFooter
  • PaywallViewControllerDelegate

@vegaro vegaro added the feat A new feature label Feb 16, 2024
@vegaro vegaro marked this pull request as ready for review February 16, 2024 16:23
@vegaro vegaro requested review from a team February 19, 2024 10:36
Copy link
Contributor

@tonidero tonidero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vegaro vegaro merged commit b7ecce2 into main Feb 19, 2024
24 checks passed
@vegaro vegaro deleted the onrestore-started branch February 19, 2024 16:21
vegaro added a commit that referenced this pull request Feb 20, 2024
Since we are deprecating the old function in
https://github.com/RevenueCat/purchases-ios/pull/3693/files

I thought it will be simpler to just add both `restoreStarted` and the
new `purchaseStarted(package:)` in the same release. We haven't made a
release since I merged #3694 so these are safe to remove for now.

I open this PR in case we want to make a release before #3693 is
finished.
This was referenced Feb 21, 2024
vegaro pushed a commit that referenced this pull request Mar 12, 2024
The changes in #3694
included a few parameters being passed to PaywallsTester that had the
wrong name, this addresses it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants