GeoLocation提示未出现在Mobile chrome中>>

问题描述 投票:0回答:1

[我在这里尝试在Geolocation API中实现权限link

我面临的问题是,在移动浏览器(firefox,chrome)中,我没有得到位置访问的通知提示:screenshot desired

[在@ https://chrisdavidmills.github.io/location-finder-permissions-api/托管的示例中尝试了实时示例页面,在该示例中一切正常。

但是在nginx serverlet中的src中添加了相同的代码并从移动浏览器(chrome)访问时,我没有收到通知!!

理想情况下,github示例应显示提示,但在Mobile Chrome中不显示提示。

[这里,我正在尝试在Geolocation API链接中实现权限,但是我遇到的问题是我无法在移动浏览器中获取位置访问的通知提示(Firefox,chrome):屏幕截图...

javascript html nginx geolocation prompt
1个回答
0
投票

问题已解决:现在允许Https允许使用权限!

© www.soinside.com 2019 - 2024. All rights reserved.