Mario
 · Developer

On Data Changed Event with Firestore Query

Troubleshooting

Hi all!

I'm working on project where i need to launch an action after the data is readed from a firestore collection query. I noticed that there is an event that fires up when the data changes. As the 'pop-up' info (inside flutterflow editor) says: 'This action will not trigger on the initial data load for Firbase, but will do for Supabase.'

So, to solve this by the moment i'm using a delay on Page Load, but in real terms, that's senseless.

Anyone has figured out how to listen for the first loading data?

Maybe using a loop and waiting for a condition like DataDocuments.isSetandNonEmpty = true?

If you faced this also, share your comments on this. I think it will be helpful for anyone.

Thanks.

What have you tried so far?
Did you check FlutterFlow's Documentation for this topic?
Yes
1
1 reply