AppState Listener

Custom Code

Hi,

I am currently implementing Websockets in a FlutterFlow application.

I initiate a connection at the very start of the application and when new data appears, customAction updates appState in FlutterFlow.

Everything works fine for now.

But unfortunately - I got stuck on listening for appState changes - that is, I would like to add a listener on each subpage that listens for changes in AppState and, depending on what the change is, performs a given action on the page.

Does anyone know how to solve this specifically?

What have you tried so far?

I tried to do it through custom Actions, but unfortunately with poor results.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
1 reply