Background location

Hey guys. Was working on a project where I needed continuous access to background location. I leverage location access inside a background job and then send the fetched lat/lng to a server via API calls. These API calls are present inside a service. But I’ve noticed Android kills the service when it runs in background on a few devices. Any idea what a better approach could be ?

submitted by /u/hmmmmaks
[link] [comments]