Explicitly set domain for external link handling.

And revert change: let ElementCallActivity handle again `call.element.io` links.
This commit is contained in:
Benoit Marty 2024-05-06 11:12:09 +02:00
parent 86838e7277
commit 6e7bbd6972
4 changed files with 11 additions and 43 deletions

View file

@ -34,10 +34,15 @@
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|uiMode"
android:launchMode="singleTask">
<!--
Note: intent-filter for https://call.element.io link is now managed by the MainActivity.
-->
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
<data android:host="call.element.io" />
</intent-filter>
<!-- Custom scheme to handle urls from other domains in the format: element://call?url=https%3A%2F%2Felement.io -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />