[DOCS] Improve "asset links" section in android.md by replacing <URL to your PWA> by <Host URL of your PWA>
What's your suggestion for improvement for our docs?
Let's say my app is deployed on https://example.com/development.app
In the Android section of the site builder, I would fill these fields:
- Host: https://example.com
- Start URL: /development.app
I would then want to set the "asset links" to remove the Chrome URL top bar, so going to the documentation I see this:
To properly deploy this file, upload it to your server at
https://<URL to your PWA>/.well-known/assetlinks.json.
So I'd go to my hosting and create the file at www/development.app/.well-known/assetlinks.json where www is the root folder of my web server. I would then test the URL https://example.com/development.app/.well-known/assetlinks.json and see that I can get the file from my browser.
But the URL app would not disappear!
In fact, the Android app expects this file to be located in a .well-known directory directly under the host domain.
So I move my file to www/.well-known/assetlinks.json (full URL is now https://example.com/.well-known/assetlinks.json ) and it works now.
I think it would be better to include this host precision in the documentation. The line in android.md would become:
To properly deploy this file, upload it to your server at
https://<Host URL of your PWA>/.well-known/assetlinks.json.
Do you have an implementation or a solution in mind?
No response
Have you considered any alternatives?
No response