mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
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.
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
# Please see LICENSE files in the repository root for full details.
|
||||
|
||||
# Format is:
|
||||
# elementx://open/{sessionId} to open a session
|
||||
# elementx://open/{sessionId}/{roomId} to open a room
|
||||
# elementx://open/{sessionId}/{roomId}/{eventId} to open a thread
|
||||
# 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 elementx://open/@benoit10518:matrix.org
|
||||
# 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 elementx://open/@benoit10518:matrix.org/!dehdDVSkabQLZFYrgo:matrix.org
|
||||
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 elementx://open/@benoit10518:matrix.org/!dehdDVSkabQLZFYrgo:matrix.org/\\\$threadId
|
||||
# adb shell am start -a android.intent.action.VIEW -d healthchat://open/@benoit10518:matrix.org/!dehdDVSkabQLZFYrgo:matrix.org/\\\$threadId
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
# Please see LICENSE files in the repository root for full details.
|
||||
|
||||
adb shell am start -a android.intent.action.VIEW \
|
||||
-d "element://room/%23element-android%3Amatrix.org"
|
||||
-d "healthchat://room/%23healthchat%3Ahealthchat.ch"
|
||||
@@ -7,4 +7,4 @@
|
||||
# Please see LICENSE files in the repository root for full details.
|
||||
|
||||
adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE \
|
||||
-d "https://app.element.io/#/room/!cuqHozLHNBgupgLMKN:matrix.org/%24LZDOueY3R8OD2ZYf8FLKtu95aF7imLBC3F5TIUj-4cc"
|
||||
-d "https://app.healthchat.ch/#/room/!cuqHozLHNBgupgLMKN:healthchat.ch/%24LZDOueY3R8OD2ZYf8FLKtu95aF7imLBC3F5TIUj-4cc"
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
# Please see LICENSE files in the repository root for full details.
|
||||
|
||||
adb shell am start -a android.intent.action.VIEW \
|
||||
-d "https://matrix.to/#/#matrix:matrix.org"
|
||||
-d "https://to.healthchat.ch/#/#healthchat:healthchat.ch"
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Copyright (c) 2025 Element Creations Ltd.
|
||||
# Copyright 2025 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:
|
||||
# https://mobile.element.io/element/?account_provider=example.org&login_hint=mxid:@alice:example.org
|
||||
|
||||
adb shell am start -a android.intent.action.VIEW \
|
||||
-d "https://mobile.element.io/element/?account_provider=element.io\\&login_hint=mxid:@alice:element.io"
|
||||
Reference in New Issue
Block a user