bjssoftsolutions / serial_communication

Flutter Android Serial communication plugin
BSD 3-Clause "New" or "Revised" License
12 stars 12 forks source link

I running example app having permission issue #3

Closed keatliang2005 closed 1 year ago

keatliang2005 commented 1 year ago

I having issue with the lib

it seems having some sort of permission issue, can't get the connection open on the serial port

I/ication_example( 5063): type=1400 audit(0.0:404): avc: denied { open } for path="/dev/ttyS2" dev="tmpfs" ino=1284 scontext=u:r:untrusted_app:s0:c103,c256,c512,c768 tcontext=u:object_r:serial_device:s0 tclass=chr_file permissive=1 app=com.example.serial_communication_example

Screenshot 2022-11-03 at 4 16 40 PM