Questions tagged [android-lvl]

Android licensing verification library

android-lvl stands for android license verification library, a system introduced by Google for developers to check if an application has been bought through the Android market. See more information here: Android Licensing

308 questions
6
votes
0 answers

android:adding license to simple hello world application on emulator

I want to add license to my application(using LVL) and test the same on the emulator. I am new to android. Can anyone help me on this and explain it to me with simple hello world application. TIA
5
votes
2 answers

How is a "test account" different from a "normal account"?

To be able test any implementation of Android Market licensing (e.g. LVL, In-app Billing), Google advises to create a Google Checkout test account, since the developer cannot buy from himself using his own Google Checkout account. Sounds great…
Bill The Ape
  • 3,261
  • 25
  • 44
5
votes
1 answer

Migrating paid app to In App Purchase on Google Play

There are a lot of old questions and answers from many, many years back about the topic of migrating an existing paid app to a freemium model using in app purchases, but they all just state the same limited workarounds. So is there an official way…
Magnus
  • 17,157
  • 19
  • 104
  • 189
5
votes
0 answers

Google Play License Verification Library with flutter

So I am using flutter for app development (obviously, the title) and this is a paid app and so the license needs to be verified. I am using MedthodChannel for this purpose as I couldn't find a way in flutter itself. Now the problem: So in Java…
Deep Shah
  • 364
  • 3
  • 9
5
votes
1 answer

How do I validate on my server that an app was successfully purchased through the Android Market?

I have an Android app that receives premium content and I want to validate server-side that the app was purchased via the Android Market. I can used the Licensing Service to check access on the app, is there a way to connect to the Licensing Service…
jaxzin
  • 13,471
  • 4
  • 19
  • 19
5
votes
3 answers

LVL behavior on client side license validity check for free apps

I had developed a game intending to publish it as a paid application using the Android LVL with the default ServerManagedPolicy licensing policy. Now, the powers that be have decided that we have to publish it as a free app. For some reason I do not…
341008
  • 9,862
  • 11
  • 52
  • 84
5
votes
4 answers

Android: Should I call the LicenseChecker every time the app is opened?

So I have read the LVL docs backward and forward, and have it working with my app. I have seen the questions about the response being cached. But it still leaves me wondering, based on some of the wording in the LVL docs, does Google want us to call…
Isaac
  • 51
  • 2
5
votes
3 answers

How to test licensed android apk without buying from market?

I would like to publish paid application to android market, so I added android LVL into my apk. I have tested on my mobile. When I install apps, it shows the permission to check phone status, market license. After installation, I try to run and…
Tom Cheung
  • 89
  • 3
  • 7
5
votes
2 answers

Android License Verification Library when offline

So, I've setup the Android LVL with my application to check for licensing. This seems to work great with the Test Accounts. The problem is, if I turn the phones internet connection off and try to run the app, the licensing check will fail and tell…
ingh.am
  • 25,981
  • 43
  • 130
  • 177
5
votes
1 answer

How to limit my paid app for only one device on same account in Android and iOS

I will publish paid app for android and ios. I want that one account can only install and run on one device. Otherwise I want to block the app on first device. Is there any way to do this? Note: I know there is a lvl for Google Play. But I am not…
Dauezevy
  • 1,012
  • 4
  • 22
  • 46
5
votes
2 answers

Generating SALT for Android Licensing

I would like to implement licensing in my app and need some help here. The sample app has this: // REPLACE WITH YOUR OWN SALT , THIS IS FROM EXAMPLE private static final byte[] SALT = new byte[]{ -46, 65, 30, -128, -103, -57, 74,…
input
  • 7,503
  • 25
  • 93
  • 150
5
votes
1 answer

How to get Google USER ID (not the device ID) for sure?

There are several methods to identify a device - IMEI/IMSI/ESN, GoogleID, your own encrypted GUID, saved in private store, etc. But as long as people switch their devices every 3-6 months it's important to identify not the device but exactly the…
Tertium
  • 6,049
  • 3
  • 30
  • 51
5
votes
2 answers

How to increase LVL cache-valid time?

I've implemented LVL server managed policy in my app. I know that lvl server response is cached in a device for some period of time so users are able to use a app without interent connection (lvl uses cached license then). I would like to know…
XorOrNor
  • 8,868
  • 12
  • 48
  • 81
5
votes
1 answer

Do I need Google Play Licensing?

I have an app that I want to market on google Play. Initially I want to charge a fixed price for the app. I'm used to marketing apps on the Windows Phone Marketplace where a user simply has to pay to get the app - no "licensing" is necessary…
Dean Blakely
  • 3,535
  • 11
  • 51
  • 83
5
votes
2 answers

How to publish an android app new license key?

I'm finally ready to publish my first app. I went in to do the paid version and it said I need to add some code to my binary. I have no idea where that is. Here is what it says on the page (the dev guide seems to be out of date for this new…
BRK
  • 140
  • 1
  • 2
  • 9
1 2
3
20 21