Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
466 views
in Technique[技术] by (71.8m points)

icons - Play store PWA tile too big

I built an progressive web app (PWA), and published it in the play store. (currently only as a test).

On my mobile phone, when I download the application, the size of the icon/tile is correct. However, when I download the application from the play store, somehow the icon/tile gets too big and exceeds the outer limits.

On the screenshot the left app downloaded from perdisco.nl, and the right one downloaded from the play store.

The webmanifest looks like below. Any suggestions ?

{
"name": "Perdisco",
"short_name": "Perdisco",
"theme_color": "#c2d4c3",
"background_color": "#c2d4c3",
"display": "standalone",
"scope": "./",
"start_url": "./",
"icons": [
    {
        "src": "assets/icons/icon-36x36.png",
        "sizes": "36x36",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-48x48.png",
        "sizes": "48x48",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-72x72.png",
        "sizes": "72x72",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-96x96.png",
        "sizes": "96x96",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-128x128.png",
        "sizes": "128x128",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-144x144.png",
        "sizes": "144x144",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-152x152.png",
        "sizes": "152x152",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-192x192.png",
        "sizes": "192x192",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-384x384.png",
        "sizes": "384x384",
        "type": "image/png",
        "purpose": "maskable any"
    },
    {
        "src": "assets/icons/icon-512x512.png",
        "sizes": "512x512",
        "type": "image/png",
        "purpose": "maskable any"
    }
]

}

screenshot mobile phone

question from:https://stackoverflow.com/questions/65898315/play-store-pwa-tile-too-big

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...