I want to generate a unique ID for every user when the user uses the app for the first time. The login happens in the backend and user need not enter mail id or mobile number etc. So what is the best way to ensure that an unique ID is generated for every user? Also if user uninstalls and installs the app again that particular user should not be treated as a new user. How do I handle this situation? Please help...
Thanks