File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ Filter mobile links: only open links which have an explicit empty path like `https://mobile.element.io/?hs_url=...`
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- adb shell am start -a android.intent.action.VIEW -d " https://mobile.element.io?hs_url=https%3A%2F%2Fmozilla-test.modular.im "
3+ adb shell am start -a android.intent.action.VIEW -d " https://mobile.element.io/ ?hs_url=https%3A%2F%2Felement.io "
Original file line number Diff line number Diff line change 206206 <data android : host =" develop.element.io" />
207207 <!-- Matching asset file: https://staging.element.io/.well-known/assetlinks.json -->
208208 <data android : host =" staging.element.io" />
209- <!-- Fix it https://github.com/element-hq/element-android/issues/8904 -->
209+ </intent-filter >
210+ <intent-filter android : autoVerify =" true" >
211+ <action android : name =" android.intent.action.VIEW" />
212+
213+ <category android : name =" android.intent.category.DEFAULT" />
214+ <category android : name =" android.intent.category.BROWSABLE" />
215+
216+ <data android : scheme =" https" />
210217 <data android : host =" mobile.element.io" />
218+ <!-- accept only root path -->
219+ <data android : path =" /" />
211220 </intent-filter >
212221 </activity >
213222
You can’t perform that action at this time.
0 commit comments