我最近更新了 Flutter 中的 InAppPurchase 插件。更新正在破壞代碼。我無法使用 InAppPurchase 實體獲取過去的購買。有人知道如何檢索過去的購買嗎?
Final QueryPurchaseDetailsResponse purchaseResponse =await _inAppPurchase.queryPastPurchases();
uj5u.com熱心網友回復:
嘗試使用:
final InAppPurchase _inAppPurchase = InAppPurchase.instance;
await _inAppPurchase.restorePurchases();
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/342573.html
標籤:扑 flutter-in-app 购买
上一篇:顫動圓形滑塊
