Well I am using Google Play service and I have a leaderboard. I am putting highscores from SharedPreferences. Is this safe to prevent changing highscores from external?
I am publishing highscores like this:
SharedPreferences SP= mContext.getSharedPreferences(
"com.example", Context.MODE_PRIVATE);
String HighScore= (SP.getLong("highscore", 0));
And updating leaderboard on google play service:
Games.Leaderboards.submitScore(getApiClient(),
getString(R.string.leaderboard_example),
HighScore);