BackgroundGeolocation Not Defined Even After successful Build
See original GitHub issueError Message
ReferenceError: BackgroundGeolocation is not defined at onDeviceReady (globalCtrl.js:173) at Object.<anonymous> (globalCtrl.js:34) at Object.invoke (angular.min.js:44) at S.instance (angular.min.js:94) at n (angular.min.js:69) at g (angular.min.js:61) at g (angular.min.js:62) at g (angular.min.js:62) at angular.min.js:61 at angular.min.js:22 (anonymous) @ angular.min.js:123
I am using cordova 8.0.0 and has added all the dependeincies to compile this module with my code. i am using Angular 1.6 with cordova to run. On chrome inspection i get the above error message,
Your Environment
-
Plugin version:
-
Platform: Android
-
OS version: using Mac
-
Device manufacturer and model: Moto E6
-
Cordova version (
cordova -v
): 8.0.0 -
Cordova platform version (
cordova platform ls
): Installed platforms: android 7.0.0 Available platforms: browser ~5.0.1 ios ~4.5.4 osx ~4.0.1 windows ~5.0.0 www ^3.12.0 -
Plugin configuration options:
-
Link to your project:
Context
Expected Behavior
Should not give error mesage.
Actual Behavior
Possible Fix
None
Steps to Reproduce
Add this to the cordova project and perform build on chrome inspect get the following error ** ReferenceError: BackgroundGeolocation is not defined **
Context
Debug logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top GitHub Comments
For the comment above it is:
Side note: it seems the following is the latest:
This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn’t be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it’s important. Thank you for your contributions.