-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Bug]: [sensors_plus] [Wear OS] [Health Services] Issue receiving data in the background #1337
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Platform
Wear OS 3
Plugin
sensors_plus
Version
2.0.1
Flutter SDK
3.3.8
Steps to reproduce
To see it work:
- Run sample app without listening to accelerometer stream
- Place hand over watch screen to enter ambient mode
- See that health data comes in normally in the background
To see it not work:
- Run sample app with listening to accelerometer stream
- Place hand over watch screen to enter ambient mode
- See that health data does not come in at regular intervals in the background
Code Sample
https://github.com/Sentinel-Occupational-Safety/wear_os_background_data_test
Logs
Doesn't seem like there's anything useful and the content was too long to fit in here
Flutter Doctor
[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0.1 22A400 darwin-arm, locale en-US)
• Flutter version 3.3.8 on channel stable at /Users/rexios/dev/fvm/versions/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 52b3dc25f6 (8 days ago), 2022-11-09 12:09:26 +0800
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/rexios/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /opt/homebrew/Cellar/openjdk/19/libexec/openjdk.jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment Homebrew (build 19)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14B47b
• CocoaPods version 1.11.3
[✓] 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.
[✓] IntelliJ IDEA Community Edition (version 2022.2.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.73.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.52.0
[✓] Connected device (3 available)
• Google Pixel Watch (mobile) • 192.168.1.84:5555 • android-arm • Android 11 (API 30)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.0.1 22A400 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110
! Error: Aaron’s iPhone is busy: Waiting to connect and unlock the device. Xcode will continue when Aaron’s iPhone is finished. (code -10)
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.Checklist before submitting a bug
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade - I did a
flutter clean - I tried running the example project
Reactions are currently unavailable