Comments (11)
Have you tried the example? You have to declare permission in your APP's info.plist
from quick_blue.
Unfortunately the example is not working, either.
from quick_blue.
Could you add:
flutter doctor -v
- Screen recording or screen shot
- Other possible logs
from quick_blue.
Here is the flutter doctor -v
Screen recording will follow.
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.2.1 21D62 darwin-arm (Rosetta), locale en-GB)
• Flutter version 3.0.2 at /Users/sinanc/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision cd41fdd495 (4 weeks ago), 2022-06-08 09:52:13 -0700
• Engine revision f15f824b57
• Dart version 2.17.3
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /Users/sinanc/Library/Android/sdk
• Platform android-33, build-tools 32.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio
• Android Studio at /Applications/Android Studio Preview.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 60.1.4
• Dart plugin version 212.5284.31
[✓] VS Code (version 1.68.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.44.0
[✓] Connected device (3 available)
• iPad Air (5th generation) (mobile) • FD383DE2-07DF-4185-9B5F-48DD483F4993 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.2.1 21D62 darwin-arm
(Rosetta)
• Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.53
[✓] HTTP Host Availability
• All required HTTP hosts are available
from quick_blue.
Here is the video screen:
quick_blue_macos.mp4
from quick_blue.
Could you open quick_blue_example/macos/Runner.xcworkspace
and CMD + R
to debug?
from quick_blue.
In debug it did work. It asked me in the beginning that the app wants to use the bluetooth. I don't get this, when I start the app via flutter.
from quick_blue.
In debug it did work. It asked me in the beginning that the app wants to use the bluetooth. I don't get this, when I start the app via flutter.
Actually you did launch the Flutter APP via VS Code
and it runned as a subprocess. VS Code
does not have permission of bluetooth and the Flutter APP failed without any warning
If you launch the APP via command line or XCode, it should work
from quick_blue.
Thanks for the info! However, it must be a way to run the app via VS Code, as we need to debug the flutter code. It's the same with IntelliJ.
from quick_blue.
The same issue is tracked under flutter_blue, as well.
from quick_blue.
Yep. Flutter issue is here: flutter/flutter#96369
from quick_blue.
Related Issues (20)
- Android device disconnect error HOT 13
- Unhandled Exception: LateInitializationError: Field '_instance@609118451' has not been initialized HOT 5
- If something else on the computer is using BTLE, quick_blue throws EXCEPTION_ACCESS_VIOLATION_READ HOT 3
- Microsoft.Windows.CppWinRT.props was not found in Windows 10 HOT 6
- Possibility to update to bluez 0.8.0 package HOT 3
- Multiple devices connected on the same printer HOT 1
- error on Android HOT 1
- location permission is always denied. HOT 5
- Bad deviceId causes hard crash HOT 3
- The Flutter application cannot start if it has this plugin and there is no bluetooth dongle inserted into the Windows computer. HOT 5
- Request: Add option to filter for service uuid
- Please upgrade `bluez` dependency to version 0.8.0
- Connection response lags and hangs up
- Exception Unhandled HOT 1
- Guidance on testing / MissingPluginException event.scanResult
- [Windows] Unhandled Exception: PlatformException(IllegalArgument, Unknown devicesId: .... , null, null) HOT 2
- Help wanted HOT 2
- ScanResult always empty on Android tablet
- Fatal error: Unexpectedly found nil while unwrapping an Optional value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quick_blue.