Hi, i have a problem with background geolocation, it works perfectly for 5 minutes, after that it simply stops sending the POST with the location to my API.
I configure distanceFilter to send POST every 100 meters, it's looking like a limitation of foreground service, or bad configuration on my part.
Hi, i have a problem with background geolocation, it works perfectly for 5 minutes, after that it simply stops sending the POST with the location to my API. I configure distanceFilter to send POST every 100 meters, it's looking like a limitation of foreground service, or bad configuration on my part.
Link android limitation -> https://developer.android.com/about/versions/oreo/background?hl=en-US
I tested it on 3 different devices, 2 with android 11, and 1 with android 9, but same problem.
code example app.component.ts :
Exemple Android Manifest :
<?xml version="1.0" encoding="utf-8"?>