Trying to pull data from firebase - nothing seems to work

Hi there,

Complete newb with all this- no matter what I do, I can't seem to get any firebase data to display when testing my app. All I am trying to do is pull quiz questions and their answers.

The data is a-z text, in strings or arrays, in fields. in a document, in a collection as I think it is supposed to be?

I've tried:

***Updating the rules- It won't let me upload a text or doc file and I don't really want to jarble the post so a snippet of it is -

match /{document=**} {

allow read, write: if request.auth.token.email.matches("[email protected]");

}

match /{document=**} {

// This rule allows anyone with your database reference to view, edit,

// and delete all data in your database

Seems fine?

***Checking the dev console to see if there is an issue there: the network displays a couple of database POST things when I click on the button - they both say 200 OK.

***Regenned the config file

***Different types of widgets, new projects, different ways of pulling it. Nothing.

I know it pulls something into flutterflow as when I:

* Add a new collection in flutterflow's firestore tab with the same name as my firebase database name

*Add the matching field names to what they are in the firebase database, then click on manage collection, it pulls the strings through.

The collection name is visible in the app building screen when I try to make an action or do a backend query.

If you need anything else please let me know. Thank you.

Kind regards,

Derek

1
2 replies