amp-social-share type="system" 似乎不适用于 Chrome Android

amp-social-share type="system" doesn't seem to work on Chrome Android

我正在尝试使用最简单的代码在我们的 AMP 页面上添加本机共享按钮,但该按钮一直处于隐藏状态。

我知道我的 phone + chrome 支持 Web 共享 API,因为我已经使用常规 JS 在非 AMP 页面上测试了该功能。 我试着看 amp-by-example,但他们手头没有真实的例子……只有一些 gif。 这是他们显示的代码:

<amp-social-share type="system"></amp-social-share>

有没有人在我能看到的真实 AMP 页面上有实际工作的 <amp-social-share type="system"> 按钮?

有一个working amp-social-share example on amp.dev。注意:它仅适用于 Android 的 Chrome。

编辑:当我将 url 从 HTTP 更改为 HTTPS 时,您必须通过 HTTPS 测试您的页面,我在 android 上看到了两个图标。

<amp-social-share type="system" 不适用于 HTTP 站点。