简体   繁体   中英

GeoLocation prompt does not appear in Mobile chrome

Here I am trying to implement Permissions in Geolocation API link

I am facing with the problem that i do not get Notification prompt for Location access in mobile browser (firefox,chrome): screenshot desired

Tried the live sample page in the example hosted @ https://chrisdavidmills.github.io/location-finder-permissions-api/ in which everything works fine.

But when Added same code in src , inside nginx serverlet and accessed from mobile browser (chrome), I don't get notification !!!

Ideally the github example should show the prompt,but it does not show in Mobile Chrome.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM