I'm trying to import a cordova plugin (https://www.npmjs.com/package/cordova-plugin-mauron85-background-geolocation). I imported it:
import {BackgroundGeolocation} from 'ionic-native';
and called it:
BackgroundGeolocation.configure(callbackFn, failureFn, {
desiredAccuracy: 10,
stationaryRadius: 20,
distanceFilter: 30,
interval: 60000
});
But this throws me an error: Supplied parameters do not match any signature of call target... I know what this error means but this is an example from docs...