Skip to content

enableRadio() doesn't emit error when radio's already enabled #462

Open
@xandros6

Description

@xandros6

Hi,
version 2.2.4, on Android 6.0.1 API level 23 (Sony Xperia Z3 Compact)
With Bluetooth already eanbled.
on code:

if (Platform.isAndroid) {
    log.v('enableRadio');
    await _bleManager.enableRadio();
}

the call to _bleManager.enableRadio() never finish.
If Bluetooth is previously disabled it works.

As a workaround, I can every time disable and enable the radio, but I think there is a better way.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions