Android 有没有办法为人们免费下载您的应用程序提供促销/优惠券代码?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10079840/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there a way to give promo/coupon codes for people to download your app for free?
提问by Chloe
I need a way to share my app to allow people to download it for free with a coupon code or promo code or checkout code. I would like to post the code to a board, and invalidate it after some time. My app uses licensing and in-app billing, so mailing the APK may not be appropriate. The last question I saw regarding this was 6 months old, so I did not know if there was a newer solution available.
我需要一种方式来共享我的应用程序,以便人们可以使用优惠券代码或促销代码或结帐代码免费下载它。我想将代码发布到板上,并在一段时间后使其无效。我的应用使用许可和应用内计费,因此邮寄 APK 可能不合适。我看到的最后一个问题是 6 个月前的,所以我不知道是否有更新的解决方案可用。
采纳答案by TheIT
Google has recently enabled support for promotion codes for paid apps and in app purchases. You will first need to setup a promotion through your Google play store developer console:
Google 最近启用了对付费应用和应用内购买促销代码的支持。您首先需要通过 Google Play 商店开发者控制台设置促销活动:
https://support.google.com/googleplay/android-developer/answer/6321495
https://support.google.com/googleplay/android-developer/answer/6321495
Or add support for in app purchase codes through in app promotions:
或者通过应用内促销添加对应用内购买代码的支持:
https://developer.android.com/google/play/billing/billing_promotions.html
https://developer.android.com/google/play/billing/billing_promotions.html
Note however that there are limits to the amount and type of codes that can be created:
但是请注意,可以创建的代码数量和类型是有限制的:
For each app, you can create up to 500 promo codes per quarter. To reach that limit, you can use any combination of paid app and in-app promo codes.
Here are some ways you could reach your promo code limit for an app:
- 500 paid app promo codes, or
- 500 promo codes for one in-app product, or
- 250 paid app promo codes + 250 promo codes for one in-app product, or
- 100 promo codes for five in-app products
对于每个应用程序,您每季度最多可以创建 500 个促销代码。要达到该限制,您可以使用付费应用和应用内促销代码的任意组合。
您可以通过以下几种方式达到应用的促销代码限制:
- 500 个付费应用促销代码,或
- 一个应用内产品的 500 个促销代码,或
- 250 个付费应用促销代码 + 250 个应用内产品的促销代码,或
- 5 个应用内产品的 100 个促销代码
回答by caskey
There is not a way to do this with the current feature set in the Play store.
使用 Play 商店中的当前功能集无法做到这一点。
You could produce a similar effect using the Licensing service (http://developer.android.com/guide/market/licensing) and perhaps in-app purchases. However sadly you will have to do most of the work yourself.
您可以使用许可服务 (http://developer.android.com/guide/market/licensing) 和应用程序内购买产生类似的效果。但遗憾的是,您将不得不自己完成大部分工作。
回答by Nikolay Elenkov
As others have said, this is currently not supported by the Android Market/Play. There is, I believe, a feature request, you can vote/star it. If you are already using in-app billing, it is fairly easy to implement this yourself though. All you need is a database with Web access, so you can check if the coupon code is valid. You might want to implement some sort of restore functionality, so people can reuse the code if they switched devices. And/or set up an upper limit for coupon use, so that you can prevent people from sharing the coupon code.
正如其他人所说,Android Market/Play 目前不支持此功能。我相信有一个功能请求,您可以投票/加星标。如果您已经在使用应用内结算,那么自己实现这一点相当容易。您所需要的只是一个可以访问网络的数据库,这样您就可以检查优惠券代码是否有效。您可能想要实现某种恢复功能,以便人们在切换设备时可以重用代码。和/或设置优惠券使用上限,防止他人分享优惠券代码。
回答by Chloe
I think I have a part-way ok way to do it. I use the licensing service, which is not terribly hard (10 times easier than in-app billing), and embedded an expiration time into my app, and post the debug version on a web site. Before the expiration, it ignores the license server response. After the expiration, it reports "Unlicensed App" with the option to purchase.
我想我有办法做到这一点。我使用许可服务,这并不难(比应用内计费容易 10 倍),并在我的应用中嵌入了到期时间,并将调试版本发布到网站上。在到期之前,它会忽略许可证服务器的响应。到期后,它会报告“未经许可的应用程序”并提供购买选项。
回答by lrAndroid
You can do this if you distribute your app through a third-party app market, such as Appia. However, this functionality is not built into Google Play.
如果您通过第三方应用程序市场(例如 Appia)分发您的应用程序,则可以执行此操作。但是,此功能并未内置于 Google Play 中。
If you wish to provide users with a coupon so that they can download a paid app for free on Google Play store, that can't be done. You either need to use another market or distribute the paid app yourself.
如果您希望向用户提供优惠券,以便他们可以在 Google Play 商店免费下载付费应用,那是不可能的。您要么需要使用另一个市场,要么自己分发付费应用。