-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 to manifest #3799
add to manifest #3799
Conversation
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
res/vector-icons/manifest.json
Outdated
@@ -1,5 +1,9 @@ | |||
{ | |||
"name": "Riot", | |||
"name": "Riot - Matrix Client", |
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.
I'm not convinced by this. @dbkr, how does this sit with you?
"url": "https://play.google.com/store/apps/details?id=im.vector.alpha", | ||
"id": "im.vector.alpha" | ||
}, { | ||
"platform": "itunes", |
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.
I wish there was a way to indicate that this isn't a known platform by the w3c. (The w3c claims to only know about "play") but I understand that without the platform
property, the application isn't processed... Oh well 😀
I seem to be getting Update: I was using the "Add to homescreen" link in dev tools which apparently doesn't do the same as the standard "Add to desktop..." UI. |
thats strange, definitely worked fine on my Android device |
Apparently the manifest has to be in the root directory: https://abendigo.github.io/2016/07/17/pwa_step_one.html#comment-3194480539
It did work, see #3799 (comment) |
Could you check if you have the same issue at: https://riot.ovh/dev Lighthouse report: https://riot.ovh/dev/lighthouse.html |
I guess we could move some of the syncing to a service worker and even get notifications when the webapp isn't open |
I think we'll have to do more work to implement PWA things (actually implementing a service worker - https://codelabs.developers.google.com/codelabs/add-to-home-screen/#5). I don't want this to block on what to change the name to, so let's stick with just "Riot" and then I'll merge. |
@lukebarnard1 I changed the full name to match that of the apps' |
Well in that case LGTM! |
@lukebarnard1 I hadn't updated the PR to match that of my working directory haha actually no I had moved it outward in anticipation of the scope |
I did not think to check indentation. If you can be bothered to make another PR, go for it 😇 |
for #334
even though app complains about being run in mobile web it is possible to use
and in certain scenarios it might be the best option so this will at least improve that
tested both using Lighthouse and my Android M device
Signed-off-by: Michael Telatynski 7t3chguy@gmail.com