Hi, I have been using this method, even back when I was programming using Small Basic. I’m just wondering if it’s a widely used / accepted practice to store permanent variables in a text document on the phone. What I mean is like, let’s say you have a game with levels and a money amount. You cannot keep these variables when you exit the app, so you store the values to a text file on the phone for later reading. I have been thinking about it, and I can’t really think about any other way going about it, so I’m just wondering is this what “everybody else” does? Thanks so much 
EDIT:
It seems like if you store a money variable for example onto the phone, it would be easy for someone who is kinda techy to just open up the phone’s document folder and easily exploit the game. Is this the case? And if there is a more secure way to store permanent variables (idk what they’re called), may I know how to? Thanks again 