Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant