My app uses google's billing API to retrieve subscription options configured in google's developer console. We have some subscription options configured as free trials.
So far we've been using the IInAppBillingService.getSkuDetails() method. This reference -
https://developer.android.com/google/play/billing/billing_reference.html#getSkuDetails - shows what kind of data you can retrieve data regarding the subscription item. But sadly it does not include the trialPeriod
nor billingPeriod
.
I stumbled upon this google play API https://developers.google.com/android-publisher/api-ref/inappproducts that shows you can query the in-app products and get a response with more details.
Is this information somehow available using the IInAppBillingService ?