tufanv Expert Licensed User Longtime User Jan 27, 2015 #1 Hello, When I use manager.getownedproducts on activity create, it takes some time for the inventory to be loaded and ecause of this latency I am having some problems. IS tere an event trggered when getownedproducts load completed ? TY
Hello, When I use manager.getownedproducts on activity create, it takes some time for the inventory to be loaded and ecause of this latency I am having some problems. IS tere an event trggered when getownedproducts load completed ? TY
DonManfred Expert Licensed User Longtime User Jan 27, 2015 #2 Code: Sub manager_OwnedProducts (Success As Boolean, purchases As Map) Log(Success) If Success Then Log(purchases) For Each p As Purchase In purchases.Values Log(p.ProductId & ", Purchased? " & (p.PurchaseState = p.STATE_PURCHASED)) Next End If End Sub Upvote 0
Code: Sub manager_OwnedProducts (Success As Boolean, purchases As Map) Log(Success) If Success Then Log(purchases) For Each p As Purchase In purchases.Values Log(p.ProductId & ", Purchased? " & (p.PurchaseState = p.STATE_PURCHASED)) Next End If End Sub