我使用的是 Google Play 结算库。 BillingClient.queryPurchases
的文档说:
Get purchases details for all the items bought within your app. This method uses a cache of Google Play Store app without initiating a network request.
一些客户支持工单随附收据,显示他们已购买,Google Play 订单管理控制台确认了这一点,但 queryPurchases
表示他们尚未购买。
我猜问题出在购买详情的缓存上。有没有办法在代码中刷新该缓存?
(就此而言,有没有办法让用户手动刷新缓存?重新安装应用程序甚至重启手机显然都无法解决问题。)
最佳答案
关于android - 刷新 Play Billing 购买缓存,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55861481/