I am facing a problem with the new Firestore from Firebase.
Situation: I have a collection(\'room\')
collection(\'room\')
I create room with c
c
Just use .id to get the key, here is an example using async/ await :
.id
async
await
const KEYID = async() => (await fs.collection("testing").add({ data: 'test'})).id;