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

provide default values for getPaywallView #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nathanfallet
Copy link

I was struggling with documentation to implement the paywall, and I spotted this mistake.

On the Android part to present a paywall, you can actually see that products and timerResolver are optional. But since they don't have a default value, they are not.

So here I provide a default value:

  • null for products as it is optional
  • AdaptyUiTimerResolver.DEFAULT for timerResolver which seems to be the best choice

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

Successfully merging this pull request may close these issues.

1 participant