当前,我正在使用FlutterInAppPurchase插件来实现应用程序购买。
我的Google Play控制台中的被管理产品中有3个项目,
final List<String> _productLists = ['get_10_coins', 'get_100_coins', 'get_1000_coins']
现在,我更新了“ get_10_coins”产品的详细信息,但是当我使用FlutterInappPurchase.instance.getProducts(_productLists)时,该信息未在应用程序中得到体现。方法。
然后,我删除了该产品,并添加了新的托管产品,例如“ get_50_coins”。但是,它仍然向我展示了“ get_10_coins”产品的旧细节。
// fetching products using the following code
List<IAPItem> items = await FlutterInappPurchase.instance.getProducts(_productLists);
谁能告诉我是什么问题?我也已经卸载了应用。
谢谢。
答案 0 :(得分:1)
我明白了。
由于我已从Google Play控制台中删除了被管理产品“ get_10_coins”。但是,我在查询被管理产品,
List<IAPItem> items = await FlutterInappPurchase.instance.getProducts(_productLists);
我没有将_productLists = ['get_10_coins','get_100_coins','get_1000_coins']从更新为_productLists = ['get_500_coins','get_100_coins','get_1000_coins']
因此,在Play控制台退还给我的情况下,即使我们从Play控制台中删除了旧产品的相应详细信息,Play控制台也会保留每个产品的所有详细信息。