You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed flutter_ble_lib 2.3.2 in a new project, and I get an error when I try to create a client. I was using the provided example as a reference, and if I use:
final clientAlreadyExists = awaitbleManager.isClientCreated();
I get the following error message: The method 'isClientCreated' isn't defined for the type 'BleManager.
I can see the method is defined in 2.4.0 and the provided example is using the 2.4.0 library, but I can't get 2.4.0 via pub get, only 2.3.2. So it means I cannot use isClientCreated() as in the example provided. Is it a way around to find out if the client was already created if I uses 2.3.2?
Thank you!
The text was updated successfully, but these errors were encountered:
vardelean
changed the title
Error cause by isClientCreated
Error caused by isClientCreated
May 26, 2021
Hello,
I just installed flutter_ble_lib 2.3.2 in a new project, and I get an error when I try to create a client. I was using the provided example as a reference, and if I use:
final clientAlreadyExists = await bleManager.isClientCreated();
I get the following error message: The method 'isClientCreated' isn't defined for the type 'BleManager.
I can see the method is defined in 2.4.0 and the provided example is using the 2.4.0 library, but I can't get 2.4.0 via pub get, only 2.3.2. So it means I cannot use isClientCreated() as in the example provided. Is it a way around to find out if the client was already created if I uses 2.3.2?
Thank you!
The text was updated successfully, but these errors were encountered: