Skip to content

Conversation

@MyisCARRY
Copy link

@MyisCARRY MyisCARRY commented Nov 14, 2024

Thank you for contributing to Purchases. Before pressing the "Create Pull Request" button, please provide the following:

  • A description about what and why you are contributing, even if it's trivial.

  • The issue number(s) or PR number(s) in the description if you are contributing in response to those.

  • If applicable, unit tests.

Description

I am adding syncPurchaseWith method that returns CustomerInfo after syncing purchases. The current syncPurchases method returns void and we need to wait until new CustomerInfo arrives in the addCustomerInfoUpdateListener - which we don't know when and if will happen. In my case I need this new CustomerInfo immediately after syncing because logic of showing paywalls depends on this info.

We could also instead of creating new method just adjust existing one, it is up to you.

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