Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

User location is not updated at background #22

Open
aTeamSolace opened this issue May 19, 2020 · 3 comments
Open

User location is not updated at background #22

aTeamSolace opened this issue May 19, 2020 · 3 comments

Comments

@aTeamSolace
Copy link

aTeamSolace commented May 19, 2020

any extra code wee need to add this method?? because when i was create a separate method then user location is not get and when download your app then user location getting but not updated ???
and i was set geolocation region but when i go in that region i didnt received any notification also leave region then still not getting any notification

@devalp-pro
Copy link

Yes, When the application is in the background or in kill mode then app will not update it's current locaiton.

@hucancode
Copy link

I was able to update geofence in background using location package.

import 'package:location/location.dart';

and then,

Location().enableBackgroundMode(enable: true);

hope to see this feature intergrated internally.

@aadesh1993
Copy link

aadesh1993 commented May 21, 2021

How exactly did you achieve it? Can you share a code snippet?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants