I'm trying to firestore documents through react native app, but facing the following issue
Here is the code
constructor() {
super();
this.ref = firebase.firestore().collection('todos');
}
and we are triggering button click
addTodo() {
this.ref.add({
title: this.state.textInput,
complete: false,
});
}
we are facing this issue
Error: Firestore: The caller does not have permission to execute the specified operation. (firestore/permission-denied).
Error: Firestore: The caller does not have permission to execute the specified operation. (firestore/permission-denied).