Kebechet / Maui.RevenueCat.InAppBilling

MIT License
12 stars 6 forks source link

Return up to date CustomerInfo #34

Closed varyamereon closed 9 months ago

varyamereon commented 9 months ago

I have added a method to IRevenueCatBilling and an implementation on each platform that return the latest CustomerInfoDto on request. I have also added CustomerInfo to the return of the Purchase method. Combined, this means the latest CustomerInfo can be obtained at every useful opportunity.

varyamereon commented 9 months ago

This will fix #22 and #33.

EDIT: Actually I didn't see the part about returning StoreTransaction. Seems to be a big difference in what Android and iOS returns, I'm not sure how it would be possible...

Kebechet commented 9 months ago

Thank you for the new contribution! In following 2 days I will take a look.