You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
await health.requestAuthorization(types, permissions: permissions) method is not returning value. I have also checked whether we have permission or not using hasPermission method.
To Reproduce
In Android, install the app.
Request for health connect authorization using await healthFactory.requestAuthorization(types, permissions: permissions).
This will not return value.
Expected behavior
await health.requestAuthorization(types, permissions: permissions) should return value either true or false.
Actual behavior
await health.requestAuthorization(types, permissions: permissions) method is not returning value. I have also checked whether we have permission or not using hasPermission method.
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.19.2, on macOS 15.0 24A335 darwin-x64, locale en-IN)
! Warning: dart on your path resolves to /usr/local/Cellar/dart/3.3.1/libexec/bin/dart, which is not inside your current Flutter SDK checkout at
/Users/himalayabaddhan/flutter. Consider adding /Users/himalayabaddhan/flutter/bin to the front of your path.
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Community Edition (version 2023.2.7)
[✓] VS Code (version 1.81.0)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for Bontriage’s 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)
[✓] Network resources
! Doctor found issues in 2 categories.
The text was updated successfully, but these errors were encountered:
himalaya-08
changed the title
[health 11.0.0] equestAuthorization is not returning value
[health 11.0.0] requestAuthorization is not returning value
Sep 19, 2024
Device / Emulator and OS
Describe the bug
await health.requestAuthorization(types, permissions: permissions) method is not returning value. I have also checked whether we have permission or not using hasPermission method.
To Reproduce
Expected behavior
await health.requestAuthorization(types, permissions: permissions) should return value either true or false.
Actual behavior
await health.requestAuthorization(types, permissions: permissions) method is not returning value. I have also checked whether we have permission or not using hasPermission method.
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.19.2, on macOS 15.0 24A335 darwin-x64, locale en-IN)
! Warning:
dart
on your path resolves to /usr/local/Cellar/dart/3.3.1/libexec/bin/dart, which is not inside your current Flutter SDK checkout at/Users/himalayabaddhan/flutter. Consider adding /Users/himalayabaddhan/flutter/bin to the front of your path.
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run
path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run
flutter doctor --android-licenses
to accept the SDK licenses.See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Community Edition (version 2023.2.7)
[✓] VS Code (version 1.81.0)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for Bontriage’s 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)
[✓] Network resources
! Doctor found issues in 2 categories.
The text was updated successfully, but these errors were encountered: