Sorry for my poor English.
When executing code like the following, an error like the image appears.
@firebase/firestore: - "Firestore(5.5.0): FIRESTORE(5.5.0) INTERNAL ASSERTION FAILED: Updating a non-existent query"
@firebase/firestore: - "Firestore(5.5.0): INTERNAL UNHANDLED ERROR: "
Unhandled Promise Rejection: Error: FIRESTORE(5.5.0) INTERNAL ASSERTION FAILED: Updating a non-exixtent query
Error: FIRESTORE(5.5.0) INTERNAL ASSERTION FAILED: Updating a non-existent query
const db = firebase.firestore();
const dammyRef = db.collection('dammy');
dammyRef.where('num', '>=', 18).where('num', '<', 30).get()
.then((querySnapshot) => {
querySnapshot.forEach((doc) => {
console.log(doc.data());
})
});
However, this error occurs only when using iPhone's Safari or Chrome. There is no error in Chrome on the PC version.
The version of Firebase,
"firebase": "^ 5.5.0",
Please tell me the reason why this error occurs.
Thank you.