Tell us more about what types of attacks or hacking you want to avoid?I want to know any tips for avoiding hacking
Being more specific, at the start of the app, there is a login form, it runs a hidden web browser with a php script url to my website consulting if the user is registered, returning also his subscription type, this value is stored in the app as a number and is what I want to protect to avoid change intentionally because this value makes the app run into trial o full modeWhat type of app is it?
@jmcilhinney is right, you need to add more specifics. But from what I've found regarding this type of question being asked around the net. A lot of developers are reluctant to publicly share this information on what works for them. Obviously because them sharing the steps they perform to secure their applications, becomes public information and this in-turn helps those pesky little shits from reverse engineering your code, stealing it, and either pirating or reselling your work. But if you are a little more specific, I can suggest somethings you can do depending on what type of protection you want to implement.
Tell us more about what types of attacks or hacking you want to avoid?