阅读背景:

跟踪用户的位置,即使用户没有使用它,并不断地将其更新到Firebase中

来源:互联网 

I'm trying to set up a system where users with a certain account type will always have their location tracked, even when it is terminated and isn't in use. I also want to constantly update that location (in longitude and latitude) into firebase whenever any change in location occurs. I've read about needing to use startMonitoringSignificantLocationChanges however I can't seem to figure out how to use this and it only seems to from what I've read to update it only if a location change of over 1km has occurred.I'm trying to set up a system where users with




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: