App Licensing

ianrich

Member
Licensed User
Longtime User
I am using the Licensing library in an app and it tests fine. This app is running Ads and I can switch them off and on using the LICENSED/NOT LICENSED setting on the Google Play Developer Console. I also have In-App Billing library working fine and I'd like have an In-App Product that sets a user to LICENSED so they can run the "Free" app Ad-free. Is this possible? Perhaps it might be achieved using an APK Expansion File but I'd need to do some research on that. Or, am I faced with having two app listings, "Free" and "Paid", in the Play Store?
:sign0163: TIA...
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The purpose of the licensing library is to protect from software piracy. Every user who downloads your app from Google Play is considered licensed.

APK Expansion will not help in this case. You have two options:
- Create two versions in Google Play.
- Use in-app purchase to "upgrade" the user to an ad-free version.
 
Upvote 0

nrasool

Member
Licensed User
Longtime User
APK Expansion will not help in this case. You have two options:
- Create two versions in Google Play.
- Use in-app purchase to "upgrade" the user to an ad-free version.

I'm looking into this as well and just want to add in my two cent. The advantage is for in-app purchase is that you just have the one codebase to work on, so if there is a bug within your program, you will only fix it one time. This is what swing it for me, however it is bit more complex than doing two versions

Kind Regards
 
Upvote 0

ianrich

Member
Licensed User
Longtime User
The purpose of the licensing library is to protect from software piracy. Every user who downloads your app from Google Play is considered licensed.

APK Expansion will not help in this case. You have two options:
- Create two versions in Google Play.
- Use in-app purchase to "upgrade" the user to an ad-free version.

Thanks for your reply Erel.

I would like to use the "upgrade" option that you suggest is possible. However, I am not clear about how this is implemented and I hope you might be able to clarify further: What is the "upgrade" In-App Product item that is actually purchased and what mechanism is used to apply the "upgrade" In-App Product for the user?
 
Upvote 0

ianrich

Member
Licensed User
Longtime User
The help is much appreciated. I must say that developing with b4a is great, it's such a brilliant product, thanks.
 
Upvote 0
Top