Git Product home page Git Product logo

Comments (11)

Sunbreak avatar Sunbreak commented on July 27, 2024

Have you tried the example? You have to declare permission in your APP's info.plist

https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription

from quick_blue.

ot-repo avatar ot-repo commented on July 27, 2024

Unfortunately the example is not working, either.

from quick_blue.

Sunbreak avatar Sunbreak commented on July 27, 2024

Could you add:

  • flutter doctor -v
  • Screen recording or screen shot
  • Other possible logs

from quick_blue.

ot-repo avatar ot-repo commented on July 27, 2024

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.

ot-repo avatar ot-repo commented on July 27, 2024

Here is the video screen:

quick_blue_macos.mp4

from quick_blue.

Sunbreak avatar Sunbreak commented on July 27, 2024

Could you open quick_blue_example/macos/Runner.xcworkspace and CMD + R to debug?

from quick_blue.

ot-repo avatar ot-repo commented on July 27, 2024

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.

Sunbreak avatar Sunbreak commented on July 27, 2024

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.

ot-repo avatar ot-repo commented on July 27, 2024

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.

ot-repo avatar ot-repo commented on July 27, 2024

The same issue is tracked under flutter_blue, as well.

pauldemarco/flutter_blue#1011

from quick_blue.

Sunbreak avatar Sunbreak commented on July 27, 2024

Yep. Flutter issue is here: flutter/flutter#96369

from quick_blue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.