Here are some steps by following I'm getting different UUID eachtime.
- Install app
- get UUID
- Ask permission for location and push notification (cause I need it in login page)
- allowing both permission
- get UUID (Here I'm getting different UUID which I got in step 2)
- Login to firebase via facebook
- Logout firebase and facebook
- get UUID (Here I'm getting different UUID which I got in step 2 and 5)
- Again login to firebase via facebook
- Again logout
- get UUID (Here I'm getting different UUID which I got in step 2, 5 and 8)
Here is my code for getting UUID.
let uuid = NSUUID().uuidString.lowercased()
Why I'm getting different UUID each time?