quick.flutter icon indicating copy to clipboard operation
quick.flutter copied to clipboard

SerialNumber is always null on Android

Open alebergmann opened this issue 3 years ago • 2 comments

SerialNumber is always null on Android (using android 11). For targets Android 10 or higher, the app cannot read the serial number until the user has granted the app permission to access the USB device or accessory. QuickUsb is not requesting permission.

alebergmann avatar Jul 06 '22 21:07 alebergmann

https://github.com/woodemi/quick.flutter/tree/master/packages/quick_usb#request-permission

Sunbreak avatar Jul 07 '22 01:07 Sunbreak

Yeah but 'hasPermission' returns true and the SerialNumber is null.

alebergmann avatar Jul 07 '22 11:07 alebergmann