Skip to content

subscribeToSignificantLocationUpdates doesn't work to me #181

Open
@mitaxe

Description

@mitaxe

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions