background_locator
background_locator copied to clipboard
can't stop location service when bring service from background
Hi, when I take a running service to background by press back button and press notification icon to bring service to foreground , I found can't stop location service even I execute "BackgroundLocator.unRegisterLocationUpdate" serval times.
anyone has same problem?
it occurs in android Emulator
Hi @tranice
Thank you for opening an issue;
Are you testing the example app? if not please share some code;
Hi @mehdok I test the example app in Android Emulator - Pixel_2_XL_API_28 and Nokia 7 plus , both occurs. the step is: 1、press start 2、press back button, quit app 3、press notification bar to reenter app 4、press stop , still receive data.
Thank you @tranice.
I can reproduce this problem, so it is officially a bug;)
Thanks for reporting, will notif you when it is fixed.
@mehdok you are welcome, thanks for your effort !
hi @mehdok , is this already fixed? thank you so much!
@olryts Sadly no, it is not fixed yet;
Hello i am facing an issue and i need your help. I want to get location once in a every 15 secs. Both IOS and Android. I can make it with interval settings in Android but i couldn't find a way for IOS. Is there a way to do this ?
Hi @FLavenNA
It is better if you could open a new issue for your problem.
But short answer, there is no way to force iOS to use the interval to send location updates, iOS will send you updates whenever it receives one.