如何在Android中为每个用户提供免费试用期 [英] How to give each user a free trial period in android

查看:181
本文介绍了如何在Android中为每个用户提供免费试用期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发布一个有15天试用期的Android应用,此后将收取终身使用费.我看到Play商店开发者帐户在试用期内有一个选项,所以我的问题是,如果用户在试用期内取消订阅,那该用户将能够使用该应用程序吗?我不想在我的.apk文件中更改任何代码.

I want to publish an Android app with 15 days as a trial period and after that, there will be a one-time subscription charge applicable for the lifetime. I see there is an option in play store developer account for the trial period, so my question is if the user cancels the subscription in the trial period after that is that user will able to use the app? I don't want to change any code for this in my .apk file.

推荐答案

在开发者控制台中,您可以设置免费试用期,让用户可以在购买前尝试订购内容.试用期在您设置的时间段内运行,然后自动转换为根据订阅的计费间隔和价格管理的完整订阅.

In the Developer Console, you can set up a free trial period that lets users try your subscription content before buying it. The trial period runs for the period of time that you set and then automatically converts to a full subscription managed according to the subscription's billing interval and price.

试用期结束后,Google Play会自动针对用户在初次购买期间提供的信用卡,以为完整订阅设置的金额开始结算,并以订阅间隔继续进行结算.如有必要,用户可以在试用期内随时取消订阅.在这种情况下,订阅将保持有效状态,直到试用期结束为止,但是Google Play会将订阅设置为不自动续订;在试用期结束时,订阅到期,并且Google Play不会向用户收费.

When the trial period ends, Google Play automatically initiates billing against the credit card that the user provided during the initial purchase, at the amount set for the full subscription, and continuing at the subscription interval. If necessary, the user can cancel the subscription at any time during the trial period. In this case, the subscription remains active until the end of the trial period, but Google Play sets the subscription not to renew automatically; at the end of the trial period the subscription expires, and Google Play does not charge the user.

您可以在开发者控制台中设置订阅的试用期,而无需修改或更新APK.只需在产品列表中找到并编辑订阅,设置有效的试用天数(必须为7天或更长时间),然后发布即可.您可以随时更改期限,尽管请注意,Google Play不会将更改应用于已经购买"了订阅试用期的用户.只有购买新的订阅才能使用更新的试用期.您可以为每个订阅产品创建一个免费试用期.

You can set up a trial period for a subscription in the Developer Console, without needing to modify or update your APK. Just locate and edit the subscription in your product list, set a valid number of days for the trial (must be 7 days or longer), and publish. You can change the period any time, although note that Google Play does not apply the change to users who have already "purchased" a trial period for the subscription. Only new subscription purchases will use the updated trial period. You can create one free trial period per subscription product.

有关更多信息,请查看文档: https://developer. android.com/google/play/billing/billing_subscriptions.html

For more information, please check the documentation: https://developer.android.com/google/play/billing/billing_subscriptions.html

这篇关于如何在Android中为每个用户提供免费试用期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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