From b0bcadc6b3d45f9bc103fa90f889a440f604b093 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Jun 2026 23:11:35 +0000 Subject: [PATCH] fix: add Android 14+ Health Connect permission rationale activity-alias The Connect button did nothing on Android 14+ because the permission request fails silently without a ViewPermissionUsageActivity declaration. We only had the pre-14 ACTION_SHOW_PERMISSIONS_RATIONALE intent-filter; add the required activity-alias handling VIEW_PERMISSION_USAGE + HEALTH_PERMISSIONS, guarded by START_VIEW_PERMISSION_USAGE, routed into MainActivity, so Health Connect shows the permission dialog. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_015qgqQKHSewRHVM8vSCLt9P --- amethyst/src/main/AndroidManifest.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/amethyst/src/main/AndroidManifest.xml b/amethyst/src/main/AndroidManifest.xml index 13faa84827..b243df378b 100644 --- a/amethyst/src/main/AndroidManifest.xml +++ b/amethyst/src/main/AndroidManifest.xml @@ -266,6 +266,22 @@ + + + + + + + +