-
Notifications
You must be signed in to change notification settings - Fork 155
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
Is it possible for a progressive web app to embed web manifest into html page? #534
Comments
@svdoever Can you explain the use case for something like this? |
@svdoever, that should absolutely work. Sounds like a bug in Chrome. |
@RobDolinMS See also issue #535. My case is that I want to use a SharePoint document library to host my PWA, so I can execute my PWA in the context of a SharePoint site. See also my blogpost series at http://weblogs.asp.net/soever. On the request for the manifest the authentication cookie is not passed along on the request, so it can't read it from SharePoint. If I could embed during my build process of my main page I could solve this, but that isn't supported either it seems. I could only solve it by placing the manifest in a public place (my dropbox), with absolute link for the start_url. Not ideal. I also wonder if the lighthouse tool in chrome will work when the data could be embedded in the href. What is the best place to report these issues with chrome? |
Fwiw, we discussed this use case when we first started working on the spec. The solution showed here is supposed to work per spec. |
When requesting the home page of the app it shows the request link, but can't show info: The request headers of index.aspx (and all other loaded artifacts like images) show the cookie with authentication information: The link request to the manifest does not have the cookie with authentication information in the request header: |
I found this link: https://support.google.com/chrome/answer/95315?hl=en but @mounirlamouri or @jakearchibald may be able to suggest a good place to report the bug you found in the way Chrome fetches web app manifests. |
@RobDolinMS thanks for the link, i will report it there. In the mean time saved me to load the manifest from a site with authentication. |
@svdoever can we close this issue? |
I would like to have a link to the manifest file in my index.html by embedding it as below, but seams not to be supported. I there a possibility to embed the manifest description in the web page?
The text was updated successfully, but these errors were encountered: