Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: track user geolocation in background mode #285

Open
VTSingle opened this issue Nov 24, 2023 · 3 comments
Open

Android: track user geolocation in background mode #285

VTSingle opened this issue Nov 24, 2023 · 3 comments
Labels
question Further information is requested

Comments

@VTSingle
Copy link

Hey team,

Did someone found a way, how to track user geolocation in background mode?
I implemented it on IOS and it's work perfectly without any extra libraries.
But on Android it's doesn't work.

Can someone help me or give a advice?

Thank you!

@VTSingle VTSingle added the question Further information is requested label Nov 24, 2023
@shuklaharshit
Copy link

Hey can you tell me how did you got it done in ios(code snippets), what are the caveats and did you do something extra for it ?thanks

@OfryL
Copy link

OfryL commented Jan 30, 2024

Hey, you can use react-native-background-timer to do it
example/src/configs/BackgroundLocationUpdates.tsx

@shuo-hiwintech
Copy link

嘿,你可以使用example/src/configs/BackgroundLocationUpdates.tsxreact-native-background-timer来做到这一点

HI, can you please tell me if this example works in both android and ios?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants