65

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.

Jose Gómez
  • 2,891
  • 2
  • 28
  • 52
Chloe
  • 21,167
  • 37
  • 143
  • 289

5 Answers5

16

There is not a way to do this with the current feature set in the Play store.

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.

caskey
  • 11,131
  • 2
  • 24
  • 27
  • I know of no announced features that indicate such enhancements to the google play store. Most of google's big product announcements occur at Google I/O which is in June. – caskey May 06 '14 at 01:18
  • @MikeT Feature Available – Leonardo Oct 15 '14 at 13:39
  • @Leonardo Do you have a link? – Mike T Oct 16 '14 at 09:28
  • @MikeT check out https://support.google.com/googleplay/android-developer/answer/3131213?hl=en – Leonardo Oct 16 '14 at 14:13
  • 3
    @Leonardo I may not be understanding correctly, but as far as I know, alpha and beta testers don't get to test paid-apps for free. They still need to pay for the app. – Mike T Oct 20 '14 at 09:56
  • 1
    I dropped in here looking for a solution to the original question, but on the point about beta testers and in-app purchases, I believe you do have to do the purchase, but as a trusted tester you immediately get a refund. I have a long list of my own apps in my Google Play account that show as "cancelled". So, it didn't end up costing me anything to test the feature. – Colin Holgate Jun 12 '15 at 17:32
  • 1
    I don't think this response is up to date anymore. When I buy something from Google Play, I now have the possibility to redeem a code. I have redeemed a 6.99€ app myself, which I downloaded for free, from a promotion code I received. – Jose Gómez Jul 29 '15 at 10:06
  • @JoseGómez can u please share how you got the promotion code..it will be helpful for my new app promotion – sathya Jan 06 '18 at 06:27
  • 1
    @sathya this response (https://stackoverflow.com/a/34802209/1816603) has the up to date details. – Jose Gómez Jan 07 '18 at 20:12
15

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:

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

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
TheIT
  • 10,803
  • 3
  • 59
  • 53
  • 3
    From the question: `post the code to a board` - this will not work because every promo code can only be used once. So either the full list (up to 500) of codes is posted (would this be allowed by the terms of use?), or the developer has to give away the promo code on a per individual base. – mjn Jan 17 '16 at 09:00
  • For that usecase ive created a Website called http://androidpromocode.com where you can register an app and add codes, afterwards you can distribute a link and my website will take care of the code distribution. – B4dT0bi Mar 07 '16 at 23:06
  • 2
    Do NOT use promo codes if your app does validation of dev payload since purchases done using promo codes return empty dev payload! – rpattabi Sep 14 '16 at 10:14
  • Do you know if different people can use the same code, so you could use it as a general reward in your app, or does it expire for everyone once one person redeems it for an inapp product. – Androidcoder Oct 17 '17 at 20:17
7

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.

Nikolay Elenkov
  • 51,084
  • 9
  • 81
  • 82
  • 4
    Any idea if this is allowed by Google Play Terms of service? – Amir Uval Feb 06 '13 at 13:25
  • As long as your not charging money you are probably OK. Consult a lawyer if want to be sure. – Nikolay Elenkov Feb 06 '13 at 15:58
  • 1
    I'm considering using this as a way to reward my beta testers, so no money involved. Makes sense, thanks! – Amir Uval Feb 06 '13 at 19:48
  • What is the link to that feature request? I think it may actually have already been implemented (http://stackoverflow.com/questions/10079840/is-there-a-way-to-give-promo-coupon-codes-for-people-to-download-your-app-for-fr#comment51334202_10080005). – Jose Gómez Jul 29 '15 at 10:08
2

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.

Chloe
  • 21,167
  • 37
  • 143
  • 289
1

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.

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.

lrAndroid
  • 2,824
  • 16
  • 27