Closed rahulr4 closed 7 years ago
Could you share more information from your log? So that i can also see from which provider you keep receiving these location updates. If it is DefaultLocationProviders, i see one possible reason why this might happen. I'll look into.
More log in what sense ? This is the configuration which i use. But If i have set time intervals it should send me request after those time intervals right. For now i have to make a service and call it every 5 minutes. This is a hack which i have used
v2.0.4 is released, please try with that it should be fixed now.
Can you tell me what in which class you have changed ? I have integrated the whole library
@rahulr4 see the PR -> https://github.com/yayaa/LocationManager/pull/65
I have set a custom configuration but location keeps getting updated every second and that too same location.
Configuration
Logs
PLEASE SHARE YOUR LOGS
08-15 15:19:22.016 15689-15689I/Location Changed: Location Changed - 28.45949666666667 : 77.02664166666666 08-15 15:19:23.012 15689-15689/I/Location Changed: Location Changed - 28.45949666666667 : 77.02664166666666 08-15 15:19:24.012 15689-15689/Location Changed: Location Changed - 28.45949666666667 : 77.02664166666666 08-15 15:19:25.020 15689-15689/Location Changed: Location Changed - 28.45949666666667 : 77.02664166666666
As you can see onLocationChanged is firing at every second. Is this a bug or is there something wrong with my configuration ?