Method Initialize
Initialize(IAPModuleConfig, List<(string productId, ProductType productType)>)
Initializes Unity IAP v5 with the given product catalog and waits until the store is
connected and products are fetched. Returns false if the product list is empty,
the store fails to connect, or the initial product fetch fails.
public static Awaitable<bool> Initialize(IAPModuleConfig config, List<(string productId, ProductType productType)> products)
Parameters
configIAPModuleConfigproductsList<(string productId, ProductType productType)>
Returns
- Awaitable<bool>