rouse-context/integrations
monkopedia-coder f4b61b19c2
Some checks failed
Android CI / test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Build & Test (push) Has been cancelled
Deploy docs to GitHub Pages / build (push) Has been cancelled
Deploy docs to GitHub Pages / deploy (push) Has been cancelled
Send users to install Health Connect instead of crashing (#803) (#806)
On Android 13 and lower Health Connect is a separate Play app. Without it,
tapping "Grant All Health Access" launched an intent nothing handled and the
app crashed with ActivityNotFoundException.

The setup screen now checks HealthConnectClient.getSdkStatus: when Health
Connect is missing or outdated it says so and the primary action opens the
Play listing (web fallback if no store app). Every Health Connect launch
(permission request, historical-access request, settings) goes through the
same check, with an ActivityNotFoundException backstop onto the install path.

Also:
- Declare the provider package in <queries>; on Android 11+ getSdkStatus
  cannot see an installed Health Connect without it.
- "Manage in Health Connect" used the Android 14 platform action, which does
  nothing on 13 and lower; use the SDK's per-platform settings action.


Claude-Session: https://claude.ai/code/session_01YYSPuh9bZEJkrzvnEpY1QK

Co-authored-by: monkopedia-coder <monkopedia-coder@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 12:42:46 -04:00
..
src Send users to install Health Connect instead of crashing (#803) (#806) 2026-10-23 12:42:46 -04:00
build.gradle.kts Fix #417: Migrate manual JSON in MCP providers to @Serializable data classes (#418) 2026-04-26 12:10:10 -04:00