Android应用横幅未显示

时间:2017-08-02 02:02:21

标签: android smartbanner

我在

上试过这个Android应用横幅

https://developers.google.com/web/updates/2015/03/increasing-engagement-with-app-install-banners-in-chrome-for-android

这是我的清单文件:

{
	"short_name": "App",
	"name": "Long App Name",
	"icons": [{
		"src": "images/logo.png",
		"sizes": "144x144",
		"type": "image/png"
	}],
	"start_url": "/order",
	"prefer_related_applications": true,
	"related_applications": [{
		"platform": "play",
		"id": "android id here"
	}]
}

但它不适用于android chrome

我已经尝试了几个步骤:

  1. 启用chrome:// flags /#bypass-app-banner-engagement-checks

  2. 我还检查了应用程序选项卡上的chrome检查元素,我的manifest.json存在..

  3. 这是我如何在html页面链接它

    <link rel="manifest" href="/manifest.json">

    这个问题的根源是因为&gt;&gt;

    1. 我选择的android id / app在我的地区不可用,虽然它在我的客户端启用了吗?
    2. 我读过它必须https,这必须真的安全吗?我知道我的https登台服务器有NET :: ERR_CERT_DATE_INVALID(过期日期)?

0 个答案:

没有答案