manifest.json

Remove name in PWA splash screen

混江龙づ霸主 提交于 2019-12-07 06:14:03
问题 how can I remove the name in the splash screen of my progressive web app? The app name is already in the logo / icon. That's why I don't want to see the name in the bottom of the splash screen again. example manifest.json: { "name": "HackerWeb", "short_name": "HackerWeb", "start_url": ".", "display": "standalone", "background_color": "#fff", "description": "A simply readable Hacker News app.", "icons": [{ "src": "images/touch/homescreen48.png", "sizes": "48x48", "type": "image/png" }, { "src"

Manifest start_url is not cached by a Service Worker

南笙酒味 提交于 2019-12-06 19:21:21
问题 I'm using Lighthouse to audit my webapp. I'm working through the failures, but I'm stuck on this one: Failures: Manifest start_url is not cached by a Service Worker. In my manifest.json I have "start_url": "index.html", In my worker.js I am caching the following: let CACHE_NAME = 'my-site-cache-v1'; let urlsToCache = [ '/', '/scripts/app.js', '/index.html' ]; Which lines up with what I see in the Application tab in Chrome Dev tools: So... why is it telling me start_url is not cached? Here is

Remove name in PWA splash screen

元气小坏坏 提交于 2019-12-05 12:56:48
how can I remove the name in the splash screen of my progressive web app? The app name is already in the logo / icon. That's why I don't want to see the name in the bottom of the splash screen again. example manifest.json: { "name": "HackerWeb", "short_name": "HackerWeb", "start_url": ".", "display": "standalone", "background_color": "#fff", "description": "A simply readable Hacker News app.", "icons": [{ "src": "images/touch/homescreen48.png", "sizes": "48x48", "type": "image/png" }, { "src": "images/touch/homescreen72.png", "sizes": "72x72", "type": "image/png" }] } There is not a way to

Manifest start_url is not cached by a Service Worker

孤者浪人 提交于 2019-12-05 00:54:08
I'm using Lighthouse to audit my webapp. I'm working through the failures, but I'm stuck on this one: Failures: Manifest start_url is not cached by a Service Worker. In my manifest.json I have "start_url": "index.html", In my worker.js I am caching the following: let CACHE_NAME = 'my-site-cache-v1'; let urlsToCache = [ '/', '/scripts/app.js', '/index.html' ]; Which lines up with what I see in the Application tab in Chrome Dev tools: So... why is it telling me start_url is not cached? Here is my full worker.js file: if ('serviceWorker' in navigator) { window.addEventListener('load', function()

add to home screen not showing up PWA

自作多情 提交于 2019-11-30 18:28:19
I've created a Progressive Web App. It's simple, just an index.html, a folder "images" with favicon etc, a sw.js et a styles.css My code from manifest.json { "lang" : "en", "name" : "Test", "short_name" : "Test", "icons" : [ { "src": "images/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { "src": "images/android-chrome-144x144.png", "sizes": "144x144", "type": "image/png" } ], "theme_color" : "#116b20", "background_color" : "#1a1a1a", "scope" : "1", "start_url" : "/test", "display" : "standalone", "orientation" : "natural" } and sw.js self.addEventListener('install',

PWA wont open in standalone mode on android

丶灬走出姿态 提交于 2019-11-30 07:36:12
问题 I am trying to implement Add To Home Screen on the latest Chrome & Android (7). I have specified "standalone" in the manifest file but the app only opens in the browser. I've gotten the desired behavior before on the same device, but can't seem to reproduce it. I see that someone had a similar issue in this question. I followed the suggested solution - validating PWA properties with Lighthouse - but even with a perfect 100 Lighthouse score, I am still unable to get the app to open in

add to home screen not showing up PWA

£可爱£侵袭症+ 提交于 2019-11-30 02:40:36
问题 I've created a Progressive Web App. It's simple, just an index.html, a folder "images" with favicon etc, a sw.js et a styles.css My code from manifest.json { "lang" : "en", "name" : "Test", "short_name" : "Test", "icons" : [ { "src": "images/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { "src": "images/android-chrome-144x144.png", "sizes": "144x144", "type": "image/png" } ], "theme_color" : "#116b20", "background_color" : "#1a1a1a", "scope" : "1", "start_url" : "

PWA wont open in standalone mode on android

依然范特西╮ 提交于 2019-11-29 04:54:39
I am trying to implement Add To Home Screen on the latest Chrome & Android (7). I have specified "standalone" in the manifest file but the app only opens in the browser. I've gotten the desired behavior before on the same device, but can't seem to reproduce it. I see that someone had a similar issue in this question . I followed the suggested solution - validating PWA properties with Lighthouse - but even with a perfect 100 Lighthouse score, I am still unable to get the app to open in standalone mode. Any ideas? My code for reference (which is also on GitHub & hosted on GitHub Pages ): Index