I’m developing a Flutter app using Firebase Firestore and I’m encountering a specific issue.
In my app, I have a method FirebaseFirestore.instance.collection(‘myCollection’).get() that is supposed to fetch data from Firestore. However, this method does not retrieve data unless I have previously used _auth.signInWithEmailAndPassword in another view for optional login.
Any help or suggestions would be greatly appreciated. Thanks!