Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error caused by isClientCreated #596

Open
vardelean opened this issue May 26, 2021 · 0 comments
Open

Error caused by isClientCreated #596

vardelean opened this issue May 26, 2021 · 0 comments

Comments

@vardelean
Copy link

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!

@vardelean vardelean changed the title Error cause by isClientCreated Error caused by isClientCreated May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant