我無法獲得原生應用安裝橫幅以在android上顯示。我已經添加了以下masifest.json
:原生應用安裝橫幅不起作用
{
"name": "My native app",
"description": "balh blah blah",
"short_name": "myapp",
"icons": [
{
"src:": "/Assets/app-install-banner-logo.png",
"type:": "image/png",
"sizes:": "144x144"
}
],
"prefer_related_applications": true,
"related_applications": [
{
"platform": "play",
"id": "com.my.app"
}
]
}
當我看到在Chrome瀏覽器開發的應用工具選項卡,請參閱:
爲什麼不能是場開始填充? json有效,我可以點擊/Assets/manifest.json
鏈接並查看內容。我在這裏錯過了什麼?