-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
Invalid Web App Manifest / Add to home screen not working #534
Comments
I already looked into fixing this in parcel, but since this is not our only issue with relative paths it might be easier to switch from parcel to vue-cli (Webpack). I already have a version of this working in a local branch. |
Encountered other side effects (necessary workarounds) with parcel also: e.g. adding a simple, relative "a href" seems to be impossible. Needed this ugly workaround, a link like "/broker/login" is impossible:
So I would appreciate to drop the parcel usage also. |
For me it looks like the relative path inside the webmanifest with only one folder up is the problem. In the release 31/32(?) the deployment of the assets were changed and now the manifest file locates in a different two level deep folder (source and published). Adding another ../ should solve this issue. A current workaround is to have two container with evcc. One with version 0.30 for creating the homelink and one with the latest version for working with. |
It's tool-generated. Problem is that the bundling tool does not work with relative paths. |
Describe the bug
Add to home screen feature not working correctly with evcc.
To Reproduce
Steps to reproduce the behavior:
Open evcc with mobile browser and select "Add to home screen".
A shortcut is created on the home screen, but without an icon and with an invalid URL (e.g.": https://evcc/dist/#/).
Expected behavior
A shortcut is created on the home screen, with evcc icon and correct start URL.
EVCC details:
evcc 0.37
The text was updated successfully, but these errors were encountered: