Relative Content

Tag Archive for flutterfirebase

Accessing a different controller from the one you are on being on a different controller (Flutter, Firestore)

I have users who can sign up and their info logged into firestore creating a collection for Restaurants, I then have within the app three different users who all create their own collections under restaurants collection. Under each user they have their own subcollections. Problem is that I would like to access the restaurants foods collection and the deliverers from the Users collection.

Accessing a different controller from the one you are on being on a different controller (Flutter, Firestore)

I have users who can sign up and their info logged into firestore creating a collection for Restaurants, I then have within the app three different users who all create their own collections under restaurants collection. Under each user they have their own subcollections. Problem is that I would like to access the restaurants foods collection and the deliverers from the Users collection.

Accessing a different controller from the one you are on being on a different controller (Flutter, Firestore)

I have users who can sign up and their info logged into firestore creating a collection for Restaurants, I then have within the app three different users who all create their own collections under restaurants collection. Under each user they have their own subcollections. Problem is that I would like to access the restaurants foods collection and the deliverers from the Users collection.

Accessing a different controller from the one you are on being on a different controller (Flutter, Firestore)

I have users who can sign up and their info logged into firestore creating a collection for Restaurants, I then have within the app three different users who all create their own collections under restaurants collection. Under each user they have their own subcollections. Problem is that I would like to access the restaurants foods collection and the deliverers from the Users collection.

Flutter Firebase User Document ID & UID is Different

I have a collection “user” and the document id of the user is different from current user’s UID. So when I use FirebaseAuth.instance.currentUser!.uid in the following code it doesn’t work. I am using anonymous login to create users not sure if this makes a difference.