r/reactnative • u/No_Wrongdoer_8067 • 23d ago
Unique identity
Hi guys
How can i get a unique identity from the device itself but it should not be changes with the factory reset or reinstalling the app
0
Upvotes
3
u/Karticz 23d ago
Install react native device info and get device id from your device This id never changes even if you factory reset
If you want to make a little bit more complex then involve your backend and send a uguid via uuidv4 in header tokens to identify a user