java – Protecting your application

Question:

Hello. There is an application with in-app purchases, advertising. With the help of Lucky Patcher, you can correct it. For example, remove or disable advertising activities and use the application. Disabled activations through Lucky Patcher, in my application I check for the availability of this activity

PackageInfo pis = getPackageManager().getPackageInfo (getPackageName(), PackageManager.GET_ACTIVITIES);
pis.activities[3].isEnabled();

It turns out that the activity is always on. Maybe someone knows how to check this matter, and how you can protect your application from such programs?

Answer:

The best way is to stop suffering bullshit and make a quality app. So that when you try to patch it, the user is stopped not by the protection, but by his conscience, his respect for you, his desire to thank you. And if he still decided to cure the application of greed, then no protection can return it, the author of the application will simply make it worse for himself.

My answer to a similar question is: https://stackoverflow.com/questions/47283143/ . And if the user wants to cure the application of greed, he will always do it. If not Freedom or Lucky Patcher, then APKTul and manual editing.

The best thing you can do is put yourself in the shoes of the person with LuckyPatcher and think about what you can do with the application further, from the point of view of the user, who is the most important person in application development.

Scroll to Top