英文:
Flutter - in_app_purchase plugin - iOS - works in sim but not on device
问题
在构建iOS应用时,_inAppPurchase.queryProductDetails(productIds); 在模拟器(iPad、iPhone)中返回产品详情,并且一切正常。但是,如果我在物理iPhone上运行,productDetailResponse.productDetails.isEmpty 为true,并且我的产品ID在notFoundIDs中。如果我使用'synced StoreKit.storekit..'并在TestFlight中尝试,情况也一样。使用的in_app_purchase版本为^3.1.7。为什么会出现这种情况?
英文:
Building an iOS app, _inAppPurchase.queryProductDetails(productIds); returns product details in a simulator (ipad, iphone) and everything works. But if I run on a physical iPhone productDetailResponse.productDetails.isEmpty is true and my product ids are in notFoundIDs. Same if I 'flutter build ipa' and try in TestFlight. Using synced StoreKit.storekit.. in_app_purchase: ^3.1.7. Why this may be?
答案1
得分: 0
将以下内容翻译为中文:
"Getting all "Agreements, Tax and Banking" bits sorted and "Active" in App Store Connect has fixed it. Things started working the same on the device, simulator and TestFlight as soon as the forms got reviewed and approved."
英文:
Getting all "Agreements, Tax and Banking" bits sorted and "Active" in App Store Connect has fixed it. Things started working the same on the device, simulator and TestFlight as soon as the forms got reviewed and approved.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论