• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Security

Brian Berry

Well-Known Member
I created an Android game with Kotlin. I used a lot of global variables I know global variables are usually bad from a security standpoint but since this is a game that I don't really care if somebody cheats or breaks into it do I really need to worry about app security?

--calmchess
 
By security, do you mean someone reverse engineering your code, and modifying it?
 
Kotlin/Java isn't really vulnerable to problems like that, because it has a different memory management model to languages like C and C++. Heap memory is managed by the garbage collector, and most variable types have known memory constraints.
Do you have information that leads you to believe that this kind of thing could be a problem?
 
Back
Top Bottom