1

此 manifest.json 是按照Google 说明放置的。Android 按预期工作,但 iOS 什么也不做。

{
    "name":"FooApp",
    "short_name":"FooApp",
    "icons":[
        {
            "src":"foo_app_icon.png",
            "type":"image/png",
            "sizes":"144x144"
        }
    ],
    "prefer_related_applications":true,
    "related_applications":[
        {
            "platform":"play",
            "url":"https://play.google.com/store/apps/details?id=com.es0329.fooapp",
            "id":"com.es0329.fooapp"
        },
        {
            "platform":"itunes",
            "url":"https://itunes.apple.com/us/app/fooapp/id123456789"
        }
    ],
    "start_url":"https://www.es0329.com/fooapp",
    "display":"standalone"
}
4

0 回答 0