flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

ios autoconnect doesnt work

Open FurkanTskn opened this issue 3 years ago • 7 comments

Hi, ios auto connect doesn't work when I connect more than one devices. Could you help me for this? Is there any config in info.plist file.?

FurkanTskn avatar Sep 01 '21 13:09 FurkanTskn

Hi, Is auto connect works for you on iOS system when only one device is connected? For me, it works only on Android but on iOS it just never works.

DanielPiflaks avatar Sep 22 '21 13:09 DanielPiflaks

I had the same issue. I wrote where is the bug and how to workaround it.

boskokg avatar Sep 22 '21 13:09 boskokg

@DanielPiflaks yes doesn't work auto connection when only one device is connected .

FurkanTskn avatar Sep 22 '21 13:09 FurkanTskn

@compvisiondeveloper So it seems that auto connection just never works on iOS with flutter blue. @boskokg For others to see your workaround in the other opened bug, here it is: https://github.com/pauldemarco/flutter_blue/issues/353

DanielPiflaks avatar Sep 22 '21 14:09 DanielPiflaks

Hi @DanielPiflaks ; I overlooked it your solution , i guess. Thanks for reply.

FurkanTskn avatar Sep 22 '21 14:09 FurkanTskn

Auto connect never works for IOS. Can't find any workaround yet.

dhaval-parmar-1108 avatar Aug 04 '22 12:08 dhaval-parmar-1108

Hi @dhaval-parmar-1108 We called a timer periodic function (per 10 second) that try connect to BLE device on start. it's only solution that we have.

FurkanTskn avatar Aug 11 '22 11:08 FurkanTskn