I implemented Licensing Service in my application using the sample given with licensing module. I am using the standard ServerManagedPolicy. I have not changed anything in the policy and it actually works fine. I have following questions.
Sometimes, this happens randomly though, it says that application is not licensed and asks for buying it and then I try again it works fine. So few times, it will say, app is not licensed. I have seen this both on real phone and emulator. This is a serious concern, because if the user who buys the app later on see the popup that app is not licensed, he is gonna get irritated. May I please know what is wrong with the standard ServerManagedPolicy
code.
For a paid app, is the standard ServerManagedPolicy
implementation given in the sample code enough, or do you recommend to tweak it and add / modify some checks.
Check that you have a strong Wi-Fi or mobile data connection After you check your internet connection, try your download again. To get more help with connection problems, go to Fix internet connection problems on Android devices.
How does the license verification library work? It manages a connection between your app and the Android Market (now Google Play), and performs a license check with the server to see if the user has a valid license for your app (i.e. it was purchased legitimately through the market).
Implementing Market license checking API is a waist of time from my experience.
My game, Elastic World, got cracked a few hours after being on the market. There's an android application called Lucky Patcher that cracks any APK that uses Market licensing API.
In the implementation of market licensing, I did everything by the book, following all google's recommendations, but Lucky Patcher always cracked the protection. I spent a couple of days on this trying several approaches, different kinds of obfuscation, placing the validation code in other areas of execution, but nothing worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With