I have @mauron85/cordova-plugin-background-geolocation plugin installed in my ionic 4 app. app is working fine. but when i call the plugin it throw error to my console.
I tried some stack overflow and git answers. But still the problem occurs. also i tried remove zone.js. and installing it. still problem is there.
Anyones help ,explanation or guidance much appreciated.Thank you
core.js:15724 ERROR Error: Uncaught (in promise): cordova_not_available
at resolvePromise (zone.js:836)
at resolvePromise (zone.js:795)
at zone.js:897
at ZoneDelegate.invokeTask (zone.js:431)
at Object.onInvokeTask (core.js:17290)
at ZoneDelegate.invokeTask (zone.js:430)
at Zone.runTask (zone.js:198)
at drainMicroTaskQueue (zone.js:611)
at ZoneTask.invokeTask (zone.js:517)
at ZoneTask.invoke (zone.js:502)