I use hid package for getting list of connected devices and receiving data from them. This code blocks UI if executes in main isolate, after wrapping it into compute() it may close app without any error message, there will be only message "Lost connection to device"
Asked
Active
Viewed 97 times
0
-
can you share error? – Pradip D. May 26 '22 at 05:22
-
there is no error, just "Lost connection to device" – Maxim Kuzin May 26 '22 at 05:34
-
Did you get list of connected devices? @MaximKuzin – Harsh Bhavsar Jul 27 '22 at 06:55