免费的非消耗性应用内购买,在 Apple 的服务器上托管内容 [英] Free non-consumable in-app purchase with hosted content on Apples's servers

查看:49
本文介绍了免费的非消耗性应用内购买,在 Apple 的服务器上托管内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

包含托管在 Apple 服务器上的内容的非消耗性应用内购买是否可以免费?

Can non-consumable in-app purchases that include content hosted on Apple's servers be free?

我在文档中找不到任何关于此的信息,因为您可以在 iTunes Connect 中将应用内购买设置为免费,所以我认为这是可能的.

I couldn't find anything about this in the docs and as you can set in-app purchases to be free in iTunes connect, I assumed it was possible.

我在 iTunes Connect 上设置了非消耗性应用内购买,上传了一些内容并将其价格设置为免费.

I have set up a non-consumable in-app purchase on iTunes connect, uploaded some content and set its price to be free.

不幸的是,当我使用产品 ID 请求产品数据时,我在 SKProductsResponse.invalidProductIdentifiers 数组中收到了该 ID.

Unfortunately when I request the products data using the product ID, I receive that ID in the SKProductsResponse.invalidProductIdentifiers array.

我还设置了另一个与前一个不同的应用内购买,仅在价格上有所不同,因为它的价格等级是第 1 层而不是免费.这个效果很好.

I have also set up another in-app purchase different from the previous one only in the price, as its price tier is Tier 1 rather than Free. This one works just fine.

感谢您抽出时间阅读.

推荐答案

来自 文档,为了使下载对象排队,它必须与已成功购买但尚未完成的交易相关联.

From the documentation, In order for a download object to be queued, it must be associated with a transaction that has been successfully purchased, but not yet finished.

免费数据托管为什么不想使用自己的服务器?

For free data hosting why you dont want to use your own server?

这篇关于免费的非消耗性应用内购买,在 Apple 的服务器上托管内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆