Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix PaywallComposable size #110

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

ploboda
Copy link

@ploboda ploboda commented May 13, 2024

If a Paywall's WebView is not loaded the PaywallComposable is added to the view hierarchy, the height of the PaywallViewController becomes 0 after the ShimmerView is hidden.
To reproduce this issue in the app included in this repository, follow these steps:

  • Disable Paywalls preloading
  • Run the app
  • Click the "JETPACK COMPOSE" button

Result: "Tab 0" content is empty after shimmer gets hidden
superwall
Screenshot 2024-05-13 at 16 14 15

The solution is to specify the preferred size of the AndroidView that contains the PaywallViewController

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant