Skip to content

Commit a1dd3ba

Browse files
committed
Replace *.element.io deep link with actual hosts
This is done to avoid incorrectly intercepting links in other apps, as Element X Android.
1 parent 4d27c84 commit a1dd3ba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

vector/src/main/AndroidManifest.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,13 @@
184184
<category android:name="android.intent.category.BROWSABLE" />
185185

186186
<data android:scheme="https" />
187-
<data android:host="*.element.io" />
187+
<!-- Note: we can't use "*.element.io" here because it'll intercept the "mas.element.io" domain too. -->
188+
<!-- Matching asset file: https://app.element.io/.well-known/assetlinks.json -->
189+
<data android:host="app.element.io" />
190+
<!-- Matching asset file: https://develop.element.io/.well-known/assetlinks.json -->
191+
<data android:host="develop.element.io" />
192+
<!-- Matching asset file: https://staging.element.io/.well-known/assetlinks.json -->
193+
<data android:host="staging.element.io" />
188194
</intent-filter>
189195
</activity>
190196

0 commit comments

Comments
 (0)