When using Firebase Auth Anonymous Account it occasionally creates a new UserID in the system and sometimes it uses the same UserID. I really want this to create the same UserID every time so the anonymous user can still maintain the same progress/data in the app. This is actually the reason I started using Firebase for this feature. How can I always maintain an anonymous account to keep the same UserID even after relaunching the app, etc.?
I want the user to always get the same ID every time they play as a guest. There are apps that I have seen that even persist after uninstalling/reinstalling. What are the situations in which the user will get a new ID?
Edit: After implementing firebase Auth as suggested it will maintain the Anonymous UserID unless I completely uninstall the app and reinstall it. Then the Anonymous UserID is no longer detected which means the user will no longer have their Guest game data. Also, suppose the user is signed in as a guest and chooses to log out (ie. auth.Signout()) then they will also not be able to access their original Guest game data again. Am I still missing something here or does Firebase Auth not achieve my original intentions?