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
ServerManagedPolicycode. -
For a paid app, is the standard
ServerManagedPolicyimplementation given in the sample code enough, or do you recommend to tweak it and add / modify some checks.
This sometimes happens when licensing is unable to access the market for validation.
There’s an issue with the default SetValidityTimestamp code where the default VT value is returning null.
See this link for details and a fix. I’ve implemented this in my own apps and have not seen the issue since or had any market reports of it.