icons - Logo not appearing on splash screen of progressive web -


in these demos, there logos on splash screens.

https://addyosmani.com/blog/getting-started-with-progressive-web-apps/

i don't know doing wrong in manifest - have icon not showing on splash screen.

my manifest looks this:

{   "short_name": "weather service",   "name": "weather service",   "icons": [     {       "src": "logo.png",       "sizes": "144x144",       "type": "image/png"     }   ],   "start_url": "index.html",   "display": "standalone",     "orientation": "portrait",  "background_color": "#fafafa",   "theme_color": "#512da8" } 

do need more 1 image appear on splash screen?

pwa recommend alway put icon @ 192px minimum

if want ensure icon displayed consider 48dp minimum image size display, if take maximum density display supported (4x) 48 * 4 = 192px. lucky because need 192px image add homescreen work! yay. therefore, recommend having 192px minimum sized icon , create 3 other versions @ 256px, 384px , 512px. however, if want ensure user not downloading data splash screen, on low density device can go lower , chrome try fetch appropriate image.

https://developers.google.com/web/updates/2015/10/splashscreen


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -