getProductsWith

fun Purchases.getProductsWith(    productIds: List<String>,     onError: (error: PurchasesError) -> Unit = ON_ERROR_STUB,     onGetStoreProducts: (storeProducts: List<StoreProduct>) -> Unit)

Gets the StoreProduct for the given list of subscription and non-subscription productIds.

Parameters

productIds

List of productIds

onError

Will be called if there was an error with the purchase

onGetStoreProducts

Will be called after fetching StoreProducts

Sources

Link copied to clipboard