79634352

Date: 2025-05-22 18:46:08
Score: 2
Natty:
Report link

Apple HealthKit doesn’t allow checking permission status at runtime. The health package's requestAuthorization always returns true, even if access is denied. Reads return empty lists without errors, and writes return false on failure but without details. As a workaround, use failed writes to infer permission issues, prompt users for manual checks, and guide them to settings if needed.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrew James