awaitGetProducts
suspend fun <Error class: unknown class>.awaitGetProducts(productIds: List<String>, type: ProductType? = null): List<StoreProduct>
Gets the StoreProduct(s) for the given list of product ids of type type, or for all types if no type is specified.
Coroutine friendly version of Purchases.getProducts.
Return
A list of StoreProduct with the products that have been able to be fetched from the store successfully. Not found products will be ignored.
Parameters
productIds
List of productIds
type
A product type to filter by
Throws
with a PurchasesError if there's an error retrieving the products.