themobilecoder / headset_connection_event

Flutter library to capture connect and disconnect events from headset
MIT License
7 stars 21 forks source link

Not working for Type C headset #19

Open AhmedHammad0900 opened 1 year ago

AhmedHammad0900 commented 1 year ago

The package don't work on Type C headphones , especailly all Headphones on android 12 , 13 new Android phones only have Type C socket , I made sure that app have the permession of "HeadsetPlugin.requestPermission(); " but I think it's asking for wrong permissons " not bluetooth I think " .

I added required receiver to androidmanifest . and uses-permissions

tested on android 10 which doesn't require permission , didn't work too .