samedi 11 mars 2017

create random id without no childByAutoId firebase

i what to create a random ID to an object in firebase, i know i can use childByAutoId, but is there any other way to create a random ID with firebase database.

I know it's possible to create a random number with arc4random() in swift and that works, but is there a better solution?




Aucun commentaire:

Enregistrer un commentaire