We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a known store product id id, getProducts does not return the product on Android
id
// always returns `null` final p = await Purchases.getProducts([id]).then((e) => e.firstOrNull); // always returns the correct StoreProduct final p = await Purchases.getOfferings().then((e) => e.all.values .map((e) => e.availablePackages.map((e) => e.storeProduct)) .flattened .toSet() .firstWhereOrNull((e) => e.identifier == id));
The text was updated successfully, but these errors were encountered:
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Sorry, something went wrong.
Hey @lukepighetti is the product a non-subscription product by any chance? If yes, you have to specify what kind of products you want to pull: https://sdk.revenuecat.com/android/8.9.0/purchases/com.revenuecat.purchases/-purchases/get-products.html?query=fun%20getProducts(productIds:%20List%3CString%3E,%20type:%20ProductType?%20=%20null,%20callback:%20GetStoreProductsCallback)
getOfferings will pull both subscription and non-subscription products for you, which is why I'm guessing that's the issue.
Let me know if that doesn't help!
No branches or pull requests
Given a known store product id
id
, getProducts does not return the product on AndroidThe text was updated successfully, but these errors were encountered: