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

Multiple products checks in hasProduct #30

Open
fredrikstave opened this issue Apr 27, 2018 · 1 comment
Open

Multiple products checks in hasProduct #30

fredrikstave opened this issue Apr 27, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@fredrikstave
Copy link

It would be great if one could pass an array of product ids to the Monetization.hasProduct function, instead of having to check each product id individually.

Something like this would be awesome:

const m = new Monetization(...);
const productIds = [12345, 23456];

m.hasProduct(productIds, spId)
  .then(...)
  .catch(...);
@fredrikstave fredrikstave changed the title Multiple products checks in hasProduct Multiple products checks in hasProduct Apr 27, 2018
@torarvid torarvid added the enhancement New feature or request label May 3, 2018
@ole-martin
Copy link
Contributor

Solved with Monetization.hasProduct(way back) so can be closed.

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

No branches or pull requests

3 participants