Anand Sainath
Anand Sainath

Reputation: 1807

Free to paid app transition

So I am ready to launch a paid version of one of my apps and I obviously have one of two options.

  1. Have the common business logic as a library and then have two versions of views (one for free and one for paid - having different package names)

  2. Unlocker app to unlock some of the paid features from a free app.

My concern here is that if I go with option 1, I will have to have two layouts for each user-screen that I have. I am using admob in my free app, and will continue to do so in the next version of the free app too. Since there is an ad bar under every screen, my layout elements , eg, a listview that occupies the entire screen has bottomMargin set to the height of the ad-bar. So this necessitates two layouts (or does it??)

If I go with option 2, I dont know what is the best way to do that as well. I mean do I have a SqliteDB which gets overwritten by the paid app or something??

I also want to have a code base that is easily maintainable in atleast the forceable future.

And last but not least, how do I ensure that a person who has the paid version installed is actually the person who has bought the app, not some one who has downloaded my apk from the net or something!

Upvotes: 2

Views: 586

Answers (1)

Brian Dupuis
Brian Dupuis

Reputation: 8176

I'll ignore everything else but this:

Since there is an ad bar under every screen, my layout elements , eg, a listview that occupies the entire screen has bottomMargin set to the height of the ad-bar. So this necessitates two layouts (or does it??)

No. Remove the margin and, if using a RelativeLayout as the parent ensure that the ListView has the android:layout_above property set and if the ad isn't needed set the ad bar visibility to Gone or, if using a LinearLayout as the parent simply set the ad visibility to Gone.

Upvotes: 2

Related Questions