Closed aaadipop closed 1 year ago
I don't think this is the right way to import this plugin. Try the following example https://github.com/IsraelHikingMap/Site/blob/015d6780a2f9c08440ef51f18231ed81147af638/IsraelHiking.Web/src/application/services/geo-location.service.ts
@HarelM great, thanks a lot! :)
Describe the bug
I installed the plugin, imported in angular controller, and try to follow the example from docs but I got the following erorrs:
Error: Can't resolve 'cordova/exec'
andError: Can't resolve 'cordova/channel'
To Reproduce Steps to reproduce the behavior:
cordova plugin add cordova-background-geolocation-plugin
import BackgroundGeolocation from 'cordova-background-geolocation-plugin';
try to start tracking / configure:
the error:
Expected behavior Start tracking
Smartphone (please complete the following information):