I create a small Android Application which should create unique userIds
.
I was thinking about to use FirebaseInstanceId.getId()
for that because the documentation says
Returns a stable identifier that uniquely identifies the app instance
But the what does app
mean in this context?
Does app
mean the "real" Android or iOS App which uses the FirebaseInstanceId
? Or does it mean the "Firebase App
" or better the Firebase Project
?
Can I assume that the generated id
is unique in my Firebase Project and can be stored in FirebaseDatabase
as userId
or should I create a unique userId
in another way?