Background Location Updates in Oreo

∥☆過路亽.° 提交于 2020-02-01 05:31:06

问题


I find myself confused with the new background limitations and am just looking for some clarity here...

With the app in the foreground OR in the background with a foreground service running, background services are good to go. I got this.

With the app in the background and without a foreground service, the background service is stopped by the system. I'm cool with this as well.

My question:

The app can still obtain limited location updates per hour but how? Where do you create the request so that it doesn't get eaten up by the system when the app is in the background?

来源:https://stackoverflow.com/questions/47640673/background-location-updates-in-oreo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!