-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Windows Release build does not find devices. #93
Comments
Did you try flutter clean? |
I ran the example code, and it works fine so the problem is on my side. I'll update my code to be more like the example and post back if I find the issue. |
I've had no luck figuring this out. I published my code at https://github.com/johncharris/ble_temperture. |
@johncharris maybe add a try/catch block when calling start scan here in your code, and log that with your try {
await UniversalBle.startScan();
catch(e) {
addMessage("ScanFailed: $e");
} Or try to compare your or Try to install Nuget Please try these steps one by one |
I had similar problem today. When app is first launched it said bluetooth is not enabled. When closed the bluetooth by hand and re-opened it started scaning. I think on windows release builds when you open the executable |
I have a simple app that does a BLE scan and connects to a device and shows the value of an attribute. This works in debug mode, but when in Release no devices are found. This is before any packaging. I'm trying to run it straight out of the release folder after it was built.
Any ideas?
The text was updated successfully, but these errors were encountered: