- Home /
How to keep Google Play Services constantly signed in
Hey there, I have a general question that I'm hoping someone knows the answer to. I have google play services in my project running, and for the most part everything is fine, but I'm not sure how to go about keeping the game signed in.
My start function automatically signs in the player, and if it goes through then you can click the buttons to show achievements and leader boards. The problem is that when you change scenes to the main game and come back to the main menu, when you click on the achievement button it seldom works at all, and same with leaderboard. Do you need to authenticate on every scene change, or what's the best idea? Right now I just have a game object with my Google Play scripts that uses DontDestroyOnLoad so it is constantly there, but is there a better way to use it? Thanks.
Your answer