Open himalaya-08 opened 2 months ago
The same problem occurs in iOS 18 Emulator. await health.requestAuthorization(types, permissions: permissions) method is not returning value.
Hi @ling350181
When the pop up is raised, did you manage to close it ? Since iOS 18, on my side, gestures are not detected every time the permission popup shows, so I can even accept or refuse the permission...
Hi @ling350181
When the pop up is raised, did you manage to close it ? Since iOS 18, on my side, gestures are not detected every time the permission popup shows, so I can even accept or refuse the permission...
Hi @arioul89 Yes, I can't close it . It might be the same issue.
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 Runpath/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Runflutter 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.