HaylLtd / cordova-background-geolocation-plugin

Background and foreground geolocation plugin for Cordova.
Apache License 2.0
56 stars 64 forks source link

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

Open rosarioxp opened 3 months ago

rosarioxp commented 3 months ago

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 commented 3 months ago

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.