My question is, if I buy a program license, where should I put the license ? If I statically place it in the application class, it can be easily accessed by decompiling the apk file and it can be stolen by others.
We suggest you use Obfuscation of the license or string encryption to keep it safe. For example ProGuard can do this
Here is an article on the topic
Please login first to submit.