We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using AdaptyUI's PaywallConfiguration with SwiftUI's conditional rendering, content flickers during the initialization process:
if let paywall = optionalPaywall { content .paywall( isPresented: $isPresented, paywallConfiguration: paywall ) } else { content }
The content should be rendered smoothly without any flickering when applying AdaptyUI's .paywall modifier.
// Solution 1: Mock/Init constructor let mockConfig = PaywallConfiguration.mock() // or let config = PaywallConfiguration(id: "test", ...) // Solution 2: Optional configuration content.paywall( isPresented: $isPresented, paywallConfiguration: optionalConfig // handles nil internally )
The text was updated successfully, but these errors were encountered:
Hi @Sun-Woo-Kim! Thank you for the detailed explanation! We will take a look.
Sorry, something went wrong.
Hi @Sun-Woo-Kim, I made several commits to fix the issue. If you have time, please try out the new implementation and confirm whether it helps.
paywallConfiguration
placeholderBuilder
Please use this commit. Don't go live with it please!
Hi @x401om ,
Everything works perfectly! 🚀 Thank you for the quick feedback and fixes. Really appreciate the fast turnaround.
@Sun-Woo-Kim thank you for confirmation! In that case we are going to release it possibly in the 3.4.0, I will keep the issue opened until then.
No branches or pull requests
Description
Current Behavior
When using AdaptyUI's PaywallConfiguration with SwiftUI's conditional rendering, content flickers during the initialization process:
Issue Details
Expected Behavior
The content should be rendered smoothly without any flickering when applying AdaptyUI's .paywall modifier.
Proposed Solutions
Example of proposed API:
The text was updated successfully, but these errors were encountered: