Skip to content

Commit

Permalink
adding android 12 url deeplink support
Browse files Browse the repository at this point in the history
- urls must be verified in order for deeplinks to be enabled by the system
  • Loading branch information
ouchadam committed Jun 1, 2022
1 parent 033b877 commit c7f9126
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5748.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes Element on Android 12+ being ineligible for URL deeplinks
11 changes: 10 additions & 1 deletion vector/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,14 @@

<data android:scheme="https" />
<data android:host="riot.im" />
</intent-filter>
<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="app.element.io" />
<data android:host="mobile.element.io" />
<data android:host="develop.element.io" />
Expand Down Expand Up @@ -304,7 +312,8 @@
android:supportsPictureInPicture="true" />

<activity android:name=".features.terms.ReviewTermsActivity" />
<activity android:name=".features.widgets.WidgetActivity"
<activity
android:name=".features.widgets.WidgetActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" />

<activity android:name=".features.pin.PinActivity" />
Expand Down

0 comments on commit c7f9126

Please sign in to comment.