-
Notifications
You must be signed in to change notification settings - Fork 455
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
[Help]: Should iOS automatically stop the scan when the bluetooth adapter is turned off? #586
Comments
What error do you get? and yes, we should automatically stop the scan |
Also, feel free to try and fix this yourself, and open a PR. For one, we should listen to
But I am not sure if there needs to be any changes to the iOS code. I'm curious what error you are getting. |
Oh ok, great. The code change I suggested above will fix this. |
Just tested it. Yep! That fixes it. |
ok, I pushed a fix to master branch. please try it! I will do a release tomorrow, if master branch works for you. |
fixed 1.15.9 |
FlutterBluePlus Version
1.15.8
Flutter Version
3.13.2
What OS?
iOS
OS Version
16.6
Bluetooth Module
Not sure
Ask your question
What should be the expected behavior when the bluetooth adapter is turned off on iOS. Right now it seems if a user had a scan running before the adapter was turned off, the scan is still running. However, it no longer produces scan results.
Steps to reproduce:
The logs are for when I don't try starting a new scan.
I am using the scanning extension from the migration file
If I try starting a scan, I get an error. This indicates that for sure, the scan is running
Steps to reproduce:
Logs
The text was updated successfully, but these errors were encountered: