Skip to content

[Health 13.1.4] isHealthDataHistoryAuthorized always return false #1258

@Jaew00Shin

Description

@Jaew00Shin

Plugin Name

health

Plugin Version

13.1.4

Device

Galaxy S9+

Operating System

Android 10

Describe the bug

isHealthDataHistoryAuthorized() returns false
although requestHealthDataHistoryAuthorization() returns true.

I already checked this permission is allowed in health connect application

Steps to Reproduce

call isHealthDataHistoryAuthorized() after checking that requestHealthDataHistoryAuthorization() returns true

Expected Behavior

isHealthDataHistoryAuthorized() should return true if requestHealthDataHistoryAuthorization() returns true

Actual Behavior

isHealthDataHistoryAuthorized() should return false even if requestHealthDataHistoryAuthorization() returns true

Flutter Logs

Screenshots

No response

Flutter Doctor Output

flutter doctor -v                                                                                                                           ✔ │ at 21:24:33 
[✓] Flutter (Channel stable, 3.35.1, on macOS 15.6.1 24G90 darwin-arm64, locale ko-KR) [569ms]
    • Flutter version 3.35.1 on channel stable at /Users/shinjaewoo/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 20f8274939 (3주 전), 2025-08-14 10:53:09 -0700
    • Engine revision 1e9a811bf8
    • Dart version 3.9.0
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.9s]
    • Android SDK at /Users/shinjaewoo/Library/Android/sdk
    • Emulator version 34.2.15.0 (build_id 11906825) (CL:N/A)
    • Platform android-36, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [3.1s]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16C5032a
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [33ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2025.1) [32ms]
    • 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 21.0.6+-13391695-b895.109)

[✓] IntelliJ IDEA Ultimate Edition (version 2025.1.1.1) [31ms]
    • IntelliJ at /Applications/IntelliJ IDEA.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.103.2) [7ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.116.0

[✓] Connected device (5 available) [7.4s]
    • SM G965N (mobile)               • 2193d76caf0c7ece          • android-arm64  • Android 10 (API 29)
    • 신재우의 iPhone (wireless) (mobile) • 00008130-001240622483401C • ios            • iOS 18.6.2 22G100
    • 신재우의 iPad (mobile)              • 00008103-000671983ED9001E • ios            • iOS 18.6.2 22G100
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.6.1 24G90 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 139.0.7258.155
    ! Error: Browsing on the local area network for finn의 iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for 코헨아이폰. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources [349ms]
    • All expected network resources are available.

• No issues found!

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions