Hi, I use RevenueCat to set up a subscription, I would like to know when it expires or when it was purchased, using the following code I can get
some information, title, description, price, but not the date, is there a way to know it?
some information, title, description, price, but not the date, is there a way to know it?
B4X:
PurchaseHelper.Initialize(Me,"PurchaseHelper",m_API_KEY)
PurchaseHelper.ProductIndentififer = Array As String("Mesi12") 'The Product identifyer
Wait For (PurchaseHelper.CheckPurchases) complete (Success As Boolean)
If Main.HasPremium=True Then
Wait For (PurchaseHelper.GetProductsInformation(PurchaseHelper.ProductIndentififer)) complete (lstPurchases As List)
For Each ProductInfo As ProductInformation In lstPurchases
hd.ToastMessageShow(ProductInfo.Title & " - " & ProductInfo.LocalizedPrice,ProductInfo.ProductIdentifier)
Next
end if