onLocationChanged event stop firing in backgound #397
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The
onLocationChanged
event triggers correctly when the app is in the foreground. However, when the app goes into the background, the event no longer fires.According to the documentation, to ensure that the service continues running in the background, you need to set the
taskRemovedBehavior
property toTaskRemovedBehavior.CONTINUE_SERVICE
.I would like to confirm whether this is the default behavior or if additional adjustments are needed to make the event trigger while the app is in the background.
Platform: Android
The text was updated successfully, but these errors were encountered: