query if device ID exists in the database, and if it exists, return a boolean true result

Database & APIs

Hello community, I am developing a fintech type app, to add a layer of security, I decided to implement a “DEVICE INFO PLUS” plugin, this to read the unique ID of the device, resulting in: IF the device is registered in the database, the login is authorized, otherwise the session is closed. My problem is, I want the DEVICE ID input argument to be searched in my DEVICES AUTH database, and if it is found some coincidence give me a result TRUE, otherwise FALSE. this to be able to condition and redirect users. If you have any suggestions or help, thank you very much.

What have you tried so far?

I tried to do a custom action, but it only gave false values, I put an input value argument 1 “DEVICE ID” and searched the DEVICE_AUTH database in id_device_unique which is STRING, then I tried to change to LIST STRING, but it didn't work

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