Hi,
I like to use the implementation for the BillingService. I have a question about the Android implementation.
When the procedure reads the BillingClient.ProductType.Inapp, the list of products from the store is fine. In the Google Play Console, to define a subscription, there are 2 steps. In the first one, I define the name and Id of the subscription.
And then, I can define one or more plans.
When the query is built in the function GetPlatformProductsAsync for BillingService.Android.cs, I changed it like this code:
foreach (var product in baseProducts)
{
var queryProduct = QueryProductDetailsParams.Product.NewBuilder()
.SetProductId(product.Id)
.SetProductType(BillingClient.ProductType.Subs)
.Build();
productList.Add(queryProduct);
}
The query find the main subscription (liuannual1) but not the plans (base1 and base12). How do I have to refer to them in order to find them?
Hi,
I like to use the implementation for the
BillingService. I have a question about the Android implementation.When the procedure reads the
BillingClient.ProductType.Inapp, the list of products from the store is fine. In the Google Play Console, to define a subscription, there are 2 steps. In the first one, I define the name and Id of the subscription.And then, I can define one or more plans.
When the query is built in the function
GetPlatformProductsAsyncforBillingService.Android.cs, I changed it like this code:The query find the main subscription (liuannual1) but not the plans (base1 and base12). How do I have to refer to them in order to find them?