mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-11-22 05:16:11 +00:00
|
Some checks failed
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> |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||