-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add static file .well-known/assetlinks.json #27439
Conversation
…tions Element and Element X running on Android 12 and higher to open external links.
You'll need to update other files which reference |
webpack.config.js
Outdated
@@ -736,6 +736,7 @@ module.exports = (env, argv) => { | |||
new CopyWebpackPlugin({ | |||
patterns: [ | |||
"res/apple-app-site-association", | |||
"res/.well-known/assetlinks.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No sure that the file will be copied to the correct destination. Can you confirm @t3chguy ?
Sorry I am a newbie here :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably won't. I suggest testing it locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it was not working as expected.
After 095c613 it's fine.
Tested OK using ./scripts/ci_package.sh
@florianduros @robintown is there anything else I need to do to make this PR "mergeable"? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working now
(merging myself since @bmarty isn't on the contributors team) |
Add static file .well-known/assetlinks.json to allow Android applications Element and Element X running on Android 12 and higher to open external links with the domains
app.element.io
,develop.element.io
andstaging.element.io
.This is the Android equivalent of the file https://github.com/element-hq/element-web/blob/develop/res/apple-app-site-association
Epic: https://github.com/element-hq/element-internal/issues/534
Note: I understand that once merged and deployed, the following URLs will return the file which is added by this PR (currently returning 404):
Please let me know if this is not the case!
Thanks.
Checklist
public
/exported
symbols have accurate TSDoc documentation.