[Android] Keeping save file from a device to another


i’m actually working on the “save” part of my game. And at this point i have no clue how to keep a save from a device to another. I would like to use only the “Google play” authentification and from this create a save linked to this account.

If anyone could point me out how could i get an ID or something right after that the user logged in with his google account that would be great.

Thanks already for reading me, and maybe helping me.

You can use firebase and try to serialize the save and add it to database