Files
element-x-android/tools/adb/deeplink.sh
T
joel.poyet e4ca0e6208 feat(deeplink): point deeplinks at HealthChat hosts
Claims app.healthchat.ch and to.healthchat.ch as App Links, registers the
healthchat:// scheme, and drops the unreachable mobile.element.io handling.
2026-10-19 08:46:58 +02:00

20 lines
838 B
Bash
Executable File

#! /bin/bash
# Copyright (c) 2025 Element Creations Ltd.
# Copyright 2023-2024 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
# Please see LICENSE files in the repository root for full details.
# Format is:
# healthchat://open/{sessionId} to open a session
# healthchat://open/{sessionId}/{roomId} to open a room
# healthchat://open/{sessionId}/{roomId}/{eventId} to open a thread
# Open a session
# adb shell am start -a android.intent.action.VIEW -d healthchat://open/@benoit10518:matrix.org
# Open a room
adb shell am start -a android.intent.action.VIEW -d healthchat://open/@benoit10518:matrix.org/!dehdDVSkabQLZFYrgo:matrix.org
# Open a thread
# adb shell am start -a android.intent.action.VIEW -d healthchat://open/@benoit10518:matrix.org/!dehdDVSkabQLZFYrgo:matrix.org/\\\$threadId