Getting full path
The proper way to get a documents' path:
From DocumentReference: .path
e.g. var path = ref.path
From DocumentSnapshot: .ref.path
e.g. var path = doc.ref.path
Last modified 2yr ago
Copy link