Hi,
I am trying to fetch APP Store IAP products using the API Purchases.getProducts, however, it is returning no products. After looking at various post it seems that I need to pass second argument to the method Purchases.getProducts as the default value is “subscription” and my product is not Subscription.
I am struggling to pass the second argument which is ENUM in the latest SDK and not a simple string like “sub” or “iap”. I don’t know how to import these enum values so that I can use it as argument in the function call.
Could you please help me with some sample code to pass the second argument?
Thanks in advance.
Thanks,
Kapil
Best answer by kapil-mahajan-e35a61
View original