Reputation: 1773
I'm working react native project. I'd like to know how to get uuid of mobile and keep it on firestore. I've tried to do it using anonymous uuid in firestore. However, this one wasn't solution cause if an user remove an app and re-install the app, then uuid is changed. So, I need to keep immutable uuid.
If you have any of idea, please let me know. Thanks!
Upvotes: 1
Views: 533
Reputation: 31
I think that keeping the UUID the same after the user has removed the app and reinstalled is impossible. From ios docs: "The value changes when the user deletes all of that vendor’s apps from the device and subsequently reinstalls one or more of them. ", and from Android docs: "The value may change if a factory reset is performed on the device or if an APK signing key changes".
Upvotes: 3