I'm developing an online Android game with Unity. I want all Google Play accounts to have only one session logged in at a time.
Do I need to write my own code to disconnect an existing session on new login attempts, or does Google Play already handle this?
An idea popped to my mind. I can save the logged in device's state to a a file on Google's Saved Games cloud, and write an instance-specific identifier to that file that indicates who has logged on last. And checking file constantly on all instances will allow me to disconnect instances whose identifier doesn't match the one on the file on the cloud.
Do you think this is a good idea? I mean, fetching file from cloud every second or so?