Recently I'm noticing that some Android Samsung devices using Firebase authentication have changed their user UIDs from letters and numbers (for example: A123fASDFij123t9iasdflj112fd) to only numbers (for example: 149124123419287364123).
This is quite puzzling, because I thought Firebase authentication UIDs are constant and shouldn't change.
The reports I've gotten are from Samsung users, in particular running Android 12. Is there something on that OS that might be causing this issue, such as anonymizing Firebase authentication IDs in a different way?
I am getting the Firebase authentication UID as follows:
FirebaseAuth.getInstance().currentUser.element.uid
Edit: Was reading through this post in 2015, which Google announced they're changing from integer uid to GUID format. So it's possible some of my users are using multiple devices, and some of those devices had a uid set from 2015 or prior, which might be causing a conflict in multi device scenarios. Maybe that's one possible explanation. https://groups.google.com/g/firebase-talk/c/s9mv4S46Qs0