标签: reactjs react-native geolocation location
这是第一次使用“ react-native-geolocation-service”。给出间隔为10秒的手表位置,但未显示任何变化。
1。我们可以像在Android中一样启动定位服务吗?
编辑1
我尝试通过检查redux状态来启用位置。我可以从Geolocation.getCurrentLocation获取位置,但是Geolocation.watchposition未启用。有人有线索吗?
Geolocation.getCurrentLocation
Geolocation.watchposition