Skip to content

Android 12: Need matrix.to/.well-known/assetlinks.json for API-Link URLs #5560

@artisan-digital

Description

@artisan-digital

Steps to reproduce

This is actually an Android 12 upgrade requirement. To reproduce, attempt to open an Element URL in a web browser -- nothing happens. Example URL:
https://matrix.to/#/!X--------------BDC:matrix.org/$TE--------------------------------------IKU)

Screenshot_20220316-154311

Outcome

Because "matrix.to" links would not open in Element on Android 12, I had to manually approve URLs in the Android System Apps Element settings to allow web links to open in Element. After I approved "matrix.to" in the Android System Apps Element settings, the links open correctly in Element.

According to:

https://developer.android.com/training/app-links/verify-site-associations

this happens because the following URL does not exist:

https://matrix.to/.well-known/assetlinks.json

Screenshot_20220316-153654_2

Your phone model

Pixel 3a

Operating system version

Android 12, build SQ1A.220205.002

Application version and app store

1.4.2 [40104020] (F-f10c67d3), Matrix SDK: 1.4.2 (f10c67d), olm: 3.2.10

Homeserver

matrix.org

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Deep-linkA-Matrix.toO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsZ-AccountResurrectionDelight - Cycle 2 of Chronic issuesZ-WTFWTF moment: High Impact, Low Effort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions