我试图从一台设备上获取一些位置信息,我在Android移动平台上使用了React本机、博览和ExpoGo,我没有使用模拟器,该应用程序在android上与ExpoGo一起工作,但是地理定位不起作用,它每次都发送错误消息Import and execute installWebGeolocationPolyfill() from expo-location to add it, or use the expo-location
我有一个Node.js应用程序,我想使用用户的全球定位系统信息。我以前从未在网页中或使用javascript这样做过。这似乎表明我想要做的事情基本上是可能的。ReferenceError: navigator is not definedif (navigator.geolocation) {}
显然,“导航器”在Node.js中是未知的。有没有一些好的简