使用 flutter 在 iOS 应用程序中进行购买

问题描述 投票:0回答:1

我正在使用flutter为iOS应用程序设置应用程序购买,我正在使用in_app_purchase包,我已经在应用程序购买部分的App Store Connect中创建了我的产品,现在当我试图获取我的产品时,我的产品处于准备提交状态产品详细信息列表列表我清空,我目前正在 iOS 模拟器中尝试。它应该在模拟器上工作吗(获取可用产品)?

flutter in-app-purchase
1个回答
0
投票

是的,您可以使用

InAppPurchase.instance.queryProductDetails(ids)

在 iOS 模拟器中获取可用产品

enter image description here

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.