Hacker News new | ask | show | jobs
by pagekalisedown 5503 days ago
It's a bit more complex than a simple #ifdef.

In-app purchase is the way to go.

2 comments

In case anyone is curious, here is a way to go about using #ifdef in your app: http://stackoverflow.com/questions/549462/how-do-i-manage-bu...

I would argue that it really depends on how many places you need to put the #ifdefs to see if it is worth the added complexity.

>>an upgradable free app

>It's a bit more complex than a simple #ifdef.

Yes, I know in app purchase is more complex than a simple ifdef. However the secondary version (the fully paid version with no in-app purchase) is just an ifdef from the in-app upgradeable one. You take out the ads and in-app registration code and voila, fully paid app.

(I know, I wrote said ifdef in an optionally upgradable app this week for a client).