Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android app licensing new and old - doubts

Just few weeks ago Google changed Android LVL API (License Verification Library).

In old LVL license checking was based on license verification using public/private keys generated on per account base. New one suppose to use public/private keys per application base.

I have application which uses old LVL and looks like that it works (looks like, but in fact I don't know). Application embeds public key generated on per account base.

Now what should I supposed to do when I will decide to upgrade my app? Embed public key for application or still use public key for account?

I didn't manage to find any clues on Google's Android developer site...

like image 582
Barmaley Avatar asked Dec 20 '12 17:12

Barmaley


People also ask

How does app licensing work?

An application license agreement (also called a software license agreement or End-User License Agreement) is a legal contract created between the creator, author and/or licensor of an app, and the purchaser. The license agreement establishes the purchaser's rights while protecting the creator's interests.

How do you license Android Apps?

Google Play offers a licensing service that lets you enforce licensing policies for applications that you publish on Google Play. With Google Play Licensing, your application can query Google Play at run time to obtain the licensing status for the current user, then allow or disallow further use as appropriate.

What is needed to be set up before adding a license?

Before you start adding license verification to your application, you need to set up your Google Play publishing account, your development environment, and any test accounts required to verify your implementation.

Does Android studio require license?

3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android.


1 Answers

It helps to think of the old license key system as deprecated - it still works on old apps, and may continue to work for updates. As with anything that is deprecated and can be disable or removed at any time in the future without further notice, you might not want to wait too long to use the new system - but your old keys should work for now. So if you have to push out an update you might be ok with the old system/keys.

As BadCash suggested, the new license key generation does not yet appear to be an instant process. Once generated it can take anywhere from minutes to a few hours to propagate across their licensing system so it can be recognized as a valid licensing signature.

Please note that Google appears to be moving away from this system entirely, however, as per their site: Google Play Licensing Service

So I would suggest resigning with the new system to avoid future annoyance - if it isn't too much hassle, depending on your number of apps - and sit comfortably knowing that in the future you won't have to do it again at all.

like image 108
BrianH Avatar answered Sep 17 '22 22:09

BrianH