const set = firebase.firestore().collection("workoutExercises").doc(firebase.auth().currentUser.uid).get()
console.log(set)
Terminal:
Promise {
"_U": 0,
"_V": 0,
"_W": null,
"_X
}
Firestore document:
Hello everyone, I am trying to get data from Cloud Firestore, when I run the code it only returns the code in the Terminal above, I am using React Native, and the goal is to store the Array set
from Firebase to the const set
in the screen.
Thank You