Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台定位问题 #8

Open
xumingyi opened this issue Dec 21, 2019 · 2 comments
Open

后台定位问题 #8

xumingyi opened this issue Dec 21, 2019 · 2 comments

Comments

@xumingyi
Copy link

既然是打车app,后台定位也是必须的功能吧,想咨询下后台实时定位是否有深入研究,像keep等app都是能够在各个手机厂商的设备上都能实现后台定位的,比如小米手机不和厂商申请白名单好像没法实现锁屏后台定位?

@18601949127
Copy link
Owner

18601949127 commented Dec 21, 2019 via email

@xumingyi
Copy link
Author

你问的最大问题是定位服务如何保活的问题吧

---原始邮件--- 发件人: "FTD_2014"<notifications@github.com> 发送时间: 2019年12月21日(周六) 晚上11:11 收件人: "18601949127/DiDiCallCar"<DiDiCallCar@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [18601949127/DiDiCallCar] 后台定位问题 (#8) 既然是打车app,后台定位也是必须的功能吧,想咨询下后台实时定位是否有深入研究,像keep等app都是能够在各个手机厂商的设备上都能实现后台定位的,比如小米手机不和厂商申请白名单好像没法实现锁屏后台定位? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

回复的好快呀,是的,我目前在研究运动app的锁屏定位问题, 目前来看,国内手机厂商很多都对锁屏或者后台的应用进行了网络和定位的服务的限制, 比如每分钟统一许可一次访问, 我目前接触的机型小米做的最严格,只有上线的keep和咕咚这类的包名才能后台定位,我们自定义的包名不行。 其他机型通过前台服务和自定义锁屏等等手段还有机会实现, 我想滴滴,高德地图,百度地图肯定也是后台实时定位的,只是不知道怎么实现的所有机型都适配的那么完美,所以咨询下, 这个保活只是功能保活,本身服务很多时候锁屏也没有被杀死,只是定位和网络功能被限制了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants