mardi 18 juillet 2017

Create a unique ID for my child key in Firebase (Android)

My users can create jobs. I want to add these jobs to my Firebase DB. I want the structure of the DB to look like this

- jobs
--uid
---name
---descritpion
---...

For the "uid", I'd like a random and unique string. Is it possible to generate it automatically somehow instead of generating a random number by myself?




Aucun commentaire:

Enregistrer un commentaire