简体   繁体   English

Chrome 自定义选项卡中的地理位置 android

[英]Geolocation in Chrome custom tab android

I want a method like ongeolocationpermissionsshowprompt in webview to be used in chrome custom tabs, or a way to manage location permission by my side.我希望在 chrome 自定义选项卡中使用 webview 中的 ongeolocationpermissionsshowprompt 之类的方法,或者在我身边管理位置权限的方法。

Thanks!谢谢!

Custom Tabs will use the underlying browser permission system, so it's not possible manage permission in the native app side.自定义选项卡将使用底层浏览器权限系统,因此无法在本机应用端管理权限。

If you own/control the page being opened inside the application, you could use Trusted Web Activity with theupcoming Location Delegation feature .如果您拥有/控制在应用程序中打开的页面,您可以使用Trusted Web Activity即将推出的位置委托功能

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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