Sugiii
 · Hustler!

Bluetooth On FlutterFlow

Custom Code

Hello Guys,

I have Followed The Very Common BLE Tutorial Creating an App for Interacting with IoT Devices using BLE and FlutterFlow
And Tried To Build it again, But I am Getting Issue at Connected Devices List Variable.
If i Tap to connect a Device from Scanned Devices, it connects and Update connectedDevices List Variable, But If you tap it Again then it makes a Duplicate List, And it Does not save Device For Next time. If You Re-open the app, then connectedDevices List we be cleared. Like It Should Save a Device if it is connected.

Screenshot_2024-05-29-19-18-59-144_com.mycompany.testv3v20.jpg
190.12KB

What have you tried so far?

I Tried to Make a Persisted App State. Just To update it and Save Device.
But unfortunately it did not work.

Screenshot 2024-05-29 193250.png
10.12KB

Screenshot 2024-05-29 193430.png
50.26KB

Did you check FlutterFlow's Documentation for this topic?
No
2 replies