tikhop / Mercato

Lightweight StoreKit 2 Wrapper
MIT License
61 stars 13 forks source link

Return cached products if requested identifiers match #2

Closed wiencheck closed 2 years ago

wiencheck commented 2 years ago

Hey @tikhop , thanks for this wonderful library!

I noticed that there is a property on ProductService for keeping cached array od Product but it wasn't being used anywhere. I've modified the class a little to return the cached products if their id values match given set of product identifiers.

tikhop commented 2 years ago

Hi @wiencheck, thanks for your PR. I will do a review ASAP.