You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem and clarification
Before I would like to suggest, to clarify the term support for background location here , is defined not clearly.
From android doc def : "An app is running in the background if none of its activities are visible to the user, and the app isn't running any foreground services."
In other words, this package is currently utilising a wrapper over foreground service and the location will not be send or recorded when the app is not currently active, i.e works only when still visible ( not exactly what background means)
can be found at here , packages/location/android/src/main/AndroidManifest.xml and here packages/location/android/src/main/java/com/lyokone/location/FlutterLocationService.kt
Suggestion
Is there any plans to create support over periodic location tracking for background using wrapper over FusedLocationProvider API that has the capability of sending location periodically in an hour at background? reference
Because currently I am using Workmanager to schedule, but I believe it does not work and doesn't compute the dart code location function call over preiodic timer
Did found this alternative package, link. However it has its own 3rd party and propreitary licensing, that I am not fully support of.
Hence came up if this package would have support for background location instead. Would be willing to contribute on this aspect, but unsure of the current implementation is capable of supporting it.
The text was updated successfully, but these errors were encountered:
Problem and clarification
Before I would like to suggest, to clarify the term support for background location here , is defined not clearly.
From android doc def : "An app is running in the background if none of its activities are visible to the user, and the app isn't running any foreground services."
In other words, this package is currently utilising a wrapper over foreground service and the location will not be send or recorded when the app is not currently active, i.e works only when still visible ( not exactly what background means)
can be found at here ,
packages/location/android/src/main/AndroidManifest.xml
and herepackages/location/android/src/main/java/com/lyokone/location/FlutterLocationService.kt
Suggestion
FusedLocationProvider API
that has the capability of sending location periodically in an hour at background? referenceBecause currently I am using
Workmanager
to schedule, but I believe it does not work and doesn't compute the dart code location function call over preiodic timerDid found this alternative package, link. However it has its own 3rd party and propreitary licensing, that I am not fully support of.
Hence came up if this package would have support for background location instead. Would be willing to contribute on this aspect, but unsure of the current implementation is capable of supporting it.
The text was updated successfully, but these errors were encountered: