Hi, what wrong with this code snippet am getting > Supplied parameters do not match any signature of call target for line : BackgroundGeolocation.configure;
Promise is now return by BackgroundGeolocation.configure function… Good way to use it is:
BackgroundGeolocation.configure(config).then((location) => {
console.log('[js] BackgroundGeolocation callback: ' + location.latitude + ',' + location.longitude);
// IMPORTANT: You must execute the finish method here to inform the native plugin that you're finished,
// and the background-task may be completed. You must do this regardless if your HTTP request is successful or not.
// IF YOU DON'T, ios will CRASH YOUR APP for spending too much time in the background.
BackgroundGeolocation.finish(); // FOR IOS ONLY