I'm trying to figure out a good way to store logged-in user data.
I'm thinking of saving the user-id into the SharedPreference "MODE_PRIVATE".
My questions is, if a user create an account with the id of 1. Is it possible to tamper with the APK and change the value to be 2? This way when he re-opens the application he can be falsely logged in as user 2?
If yes, i would love to get an explanation and ideas for better solutions to counter that.