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

ButtonComponent can dismiss the paywall #4365

Merged
merged 39 commits into from
Oct 14, 2024

Conversation

JayShortway
Copy link
Member

@JayShortway JayShortway commented Oct 9, 2024

As the title says. I decided to pass an onDismiss callback down, to avoid potential issues in hybrids where the paywall doesn't dismiss when we want it to. (See RevenueCat/purchases-kmp#217 & #4312.)

Let me know if you think we should handle this differently!

…omponents/button-component-2

# Conflicts:
#	RevenueCatUI/Templates/Components/Button/ButtonComponentView.swift
#	Sources/Paywalls/Components/PaywallButtonComponent.swift
@JayShortway JayShortway marked this pull request as ready for review October 10, 2024 09:52
@JayShortway JayShortway requested review from a team October 10, 2024 09:53
Copy link
Member

@joshdholtz joshdholtz left a comment

Choose a reason for hiding this comment

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

Looks good to me! 💪 :shipit:

Base automatically changed from paywalls-components/button-component-3 to main October 14, 2024 13:54
# Conflicts:
#	RevenueCatUI/Data/Strings.swift
#	RevenueCatUI/Templates/Components/Button/ButtonComponentView.swift
#	RevenueCatUI/Templates/Components/Button/ButtonComponentViewModel.swift
#	RevenueCatUI/Templates/Components/TemplateComponentsView.swift
@JayShortway JayShortway enabled auto-merge (squash) October 14, 2024 14:04
@JayShortway JayShortway merged commit 0c0dbc5 into main Oct 14, 2024
7 checks passed
@JayShortway JayShortway deleted the paywalls-components/button-component-4 branch October 14, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants