Table of Contents

Method Initialize

Namespace
Titipi.MocaLib

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

config IAPModuleConfig
products List<(string productId, ProductType productType)>

Returns

Awaitable<bool>