提供应用内购买的试用 [英] Offer a trial of an in-app purchase

查看:22
本文介绍了提供应用内购买的试用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望用户能够试用通常需要付费的功能.

I want to have users be able to try out functionality that is usually a paid one.

让付费应用试用已内置于商店中.这个应用内试用怎么样,有办法吗?如果是这样 - 如何?(C#/XAML.)

Making a paid app have a trial is built in to the store. How about this in-app trial, is there a way to have that? If so - how? (C#/XAML.)

推荐答案

据我所知,您无法直接为 IAP 提供试用版.

As far as I know you cannot provide a trial version for IAP straight forward.

但是您想要实现的目标应该是通过提供第二个限时(持久)IAP、限时轻松实现的.当您查看在 MSDN 时,您会看到您可以将产品生命周期设置为 1 到 365 天(或 0 表示永远).您当然可以为第二个 IAP 设置任何过程,甚至是免费的.

But what you want to achieve, should be easy to perform by providing second time-limited (durable) IAP, time limited. When you take a look at MSDN you will see that you can set product lifetime from 1 to 365 days (or 0 for forever). You can of course set any proce for the second IAP, even free.

唯一的事情,我认为您必须处理的是试用期到期并且用户尝试购买另一个免费 IAP 的情况.在这种情况下,您可能需要检查应用收据.

The only thing, I think you will have to handle is the case when trial expires and user tries to buy another free IAP. In this case you will probably have to check app receipt.

您可以在 此 MSDN 页面中找到更多有用信息.

这篇关于提供应用内购买的试用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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