I'm having trouble generating a random Unique ID using Cloud Firestore. Previously I was using the Realtime Database and to generate a random string I use the childByAutoID().key
.
Is there a way of doing something similar for Cloud Firestore?
As Jay said in the comments this isn't a duplicate as I'm trying to generate a random string, I'm not trying to get random documents.