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

subscribeToSignificantLocationUpdates doesn't work to me #181

Open
mitaxe opened this issue Jan 11, 2022 · 0 comments
Open

subscribeToSignificantLocationUpdates doesn't work to me #181

mitaxe opened this issue Jan 11, 2022 · 0 comments

Comments

@mitaxe
Copy link

mitaxe commented Jan 11, 2022

Hi, I have such a code

RNLocation.subscribeToSignificantLocationUpdates(async location => {
  await AsyncStorage.setItem('location', JSON.stringify(location));
});

I want to track location change when the app is killed. I was using the simulator and used the location change feature to debug it.

Screenshot 2022-01-11 at 23 06 44

Callback doesn't do anything in my case. Location permission is always,

Location updates are enabled.
Screenshot 2022-01-11 at 23 09 05

Maybe it can be only simulated with a real device? But how to debug it, I don't want to use a train :)

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

No branches or pull requests

1 participant