gpt4 book ai didi

ios - itms-services//action=purchaseIntent 未打开应用

转载 作者:可可西里 更新时间:2023-11-01 04:43:08 24 4
gpt4 key购买 nike

在 iOS11 上,Apple 引入了可以从 AppStore 发起的 IAP 购买。为了测试这个,在WWDC17 Whats new in StoreKit video他们提供了以下 URL 方案供使用:

itms-services://?action=purchaseIntent&bundleId=com.example.app&productIdentifier=product_name

现在我已经在我们的开发应用程序(IAP 商品不在店内)和生产应用程序(IAP 商品在店内)中尝试了几次。有没有人得到这个工作?我是否遗漏了一些特殊步骤?

编辑:结果和我输入 URL 一样愚蠢。我写的不是 bunldeId=,而是 bundleID=。因此,请格外小心,因为 URL 区分大小写。幸运的是,其他人犯了完全相同的错字并找到了解决方案:https://forums.developer.apple.com/thread/83709

最佳答案

我也遇到了这个问题,让它对我有用的技巧是输入完整的 productIdentifier,例如 com.company.app.pid。 Apple 的文档非常具有误导性......

关于ios - itms-services//action=purchaseIntent 未打开应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45567522/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com