Andrea Baccega
Andrea Baccega

Reputation: 27623

Offer in-app product as gift to some user in Android

Is there an easy way or common pattern to follow to provide our users a way to redeem an in-app product for free?

Let me explain. Like many freemium apps, we've an in-app product that unlocks some parts of our app.

We'd like to provide our users the ability to unlock the in-app content without actually purchasing the in-app product. I know that in iOS there is some kind of license keys or coupon codes developers are using to provide such functionality.

A common example when this is useful is asking your users to translate your app in exchange of the premium version.

Upvotes: 2

Views: 250

Answers (2)

r2DoesInc
r2DoesInc

Reputation: 3771

I have created an open source library based on the code from my other answer.

Check it out here.

https://github.com/FutureHax/UberVerificationSystem

Upvotes: 0

r2DoesInc
r2DoesInc

Reputation: 3771

Unfortunately there is nothing like this built in, you have to build this system yourself.

I have a system setup using Parse.com as a backend, storing their gmail id from the account manager, and a generated list of valid "keys" that I can send or directly associate with a users email.

Its a pain, and I really wish they would figure something out for this :(

Here is a gist with most of the relevant info. Ive gotten it to the point where its pretty much drag and drop.

https://gist.github.com/r2DoesInc/8d4a924574ec51022672

Upvotes: 1

Related Questions