I'm working on a Unity game where the player builds a city and the user evolution data is kept on a server. With this in mind I need to detect when the player connects on a different device to provide him with his own city (and not a new one). What is the best way to achieve this and if possible, one that doesn't require an action from the player, like clicking on a login button or accepting permissions?
For now I'm only developing for Android and my understanding is that I need the App to provide the server with a TokenId that it can validate (and retrieve an associated player id). How should I do this? I'm trying to use Google Play Games (plugin for Unity) but it seems to have a lot of features that I don't need. Besides that and probably because of those features, in my first attempt asked the user for permissions on:
- Know who you are on Google
- Manage your game activity for this game
I've played other games that connect with Google Play account and don't ask for such permissions, just say "Welcome XXX". Can anyone give me some tips on how to do this?