I am using
timeInterval: 60000, to get location of device once a minute
A task manager has been set up to write out the location to the Firebase database.
ExpectedBehaviour: the device checks the location every minute and sends it out to the database.
ObservedBehaviour the device is checking and sending out location to database at irregular intervals, approximately once every 10 minutes between two updates. The location accuracy is set to “High” .
EDIT: I forgot to mention that when the app is open (foreground) the location is read every minute as expected - the erratic behavior is only observed when app is in the background