User License Period in Android LVL

I am working on an application that will be used for 30-40 days offline (without an Internet connection), so I need to work offline during this period using ManagedPolicy. The check is performed at startup - and if it cannot connect to the server in order to use the saved policy for the next 30-40 days. I am looking for an example or advice for implementing such a user policy.

+4
source share
1 answer

After searching for a few hours using google, I found only one example

https://gist.github.com/Ricket/1163927 "Modified ServerManagedPolicy that only requires a license check every 7 days or 10 attempts. (From the Android licensing library)"

This is the starting point for further implementation and so far the best example that exists.

If someone has additional information, share it - it will be very useful.

+1
source

All Articles