play-billing-samples
play-billing-samples copied to clipboard
Request: update samples to use nothing that is deprecated
It seems a lot in the code is deprecated:
billingClient.querySkuDetails(
SkuDetailsParams.newBuilder()
billingClient.queryPurchasesAsync(BillingClient.SkuType.INAPP)
purchasesResult = billingClient.queryPurchasesAsync(BillingClient.SkuType.SUBS)
val purchasesResult = billingClient.queryPurchasesAsync(skuType)
and a lot more: https://github.com/android/play-billing-samples/blob/main/TrivialDriveKotlin/app/src/main/java/com/sample/android/trivialdrivesample/billing/BillingDataSource.kt#L358
Please update the samples to use the latest API. Don't leave anything that is deprecated.