Add support for link generated by matrix.to website.

This commit is contained in:
Benoit Marty 2024-05-03 11:57:22 +02:00
parent 4dfec7ac55
commit 1bcfa6034c
5 changed files with 63 additions and 2 deletions

View file

@ -87,7 +87,7 @@
<data android:host="*.element.io" />
</intent-filter>
<!--
matrix.to links
matrix.to links
Note: On Android 12 and higher clicking a web link (that is not an Android App Link) always shows content in a web browser
https://developer.android.com/training/app-links#web-links
-->
@ -100,6 +100,17 @@
<data android:scheme="https" />
<data android:host="matrix.to" />
</intent-filter>
<!--
links from matrix.to website
-->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="element" />
<data android:host="user" />
<data android:host="room" />
</intent-filter>
</activity>
<provider