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

on 'activity' and on 'stationary' not working #191

Open
rosarioxp opened this issue Jun 2, 2024 · 1 comment
Open

on 'activity' and on 'stationary' not working #191

rosarioxp opened this issue Jun 2, 2024 · 1 comment

Comments

@rosarioxp
Copy link

Hi,
thank you for tour work. I am not able to get the 'activity' and 'stationary' events fire

To Reproduce
Steps to reproduce the behavior:
BackgroundGeolocation.on('activity', function (activity) {
console.log(activity)
// handle stationary locations here

});

Expected behavior
Nothing happens

I'm developing for Android

Thank you for your help

@HarelM
Copy link
Collaborator

HarelM commented Jun 2, 2024

I'm not using those in my app, so your best option is to try and debug the code and see why the event is not raised.

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

2 participants