Skip to content

Commit 305372c

Browse files
authored
Merge pull request #6225 from element-hq/feature/adm/android-12-deeplinks
Fixing Android 12 url deeplinks
2 parents a1823b0 + 4e068a1 commit 305372c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

changelog.d/5748.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixes Element on Android 12+ being ineligible for URL deeplinks

vector/src/main/AndroidManifest.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,15 @@
176176

177177
<data android:scheme="https" />
178178
<data android:host="riot.im" />
179-
<data android:host="app.element.io" />
180-
<data android:host="mobile.element.io" />
181-
<data android:host="develop.element.io" />
182-
<data android:host="staging.element.io" />
179+
</intent-filter>
180+
<intent-filter android:autoVerify="true">
181+
<action android:name="android.intent.action.VIEW" />
182+
183+
<category android:name="android.intent.category.DEFAULT" />
184+
<category android:name="android.intent.category.BROWSABLE" />
185+
186+
<data android:scheme="https" />
187+
<data android:host="*.element.io" />
183188
</intent-filter>
184189
</activity>
185190

0 commit comments

Comments
 (0)