[Background Location Plugin] BackgroundGeolocation is not defined
Mobile icon
Forge component by Alexandre Costa

Hi there,

I am getting this error while debugging through the native app.  

  • Is this error a setup issue, or am I doing something wrong?

The plugin is being called from an action that is called by the button.  Although the component is well documented and the descriptions have context (great job!!!), I am unsure which components are necessary and which can be left to their default settings.  If you have an example that could provide some direction, it would be greatly appreciated if you could attach it. 

  • How do I set the recording interval?
  • Is there an option to let the monitoring "sleep", when the location stays the same or in a certain radius of the previous location?

Hi there, 

Just some feedback, when plugging in a plugin, it is sometimes necessary to recreate the .apk for your application for an update on the device.  I am currently working on an Android 5.1.1 device, so the permissions need to be set on install, thus the issue.  It seemed to not pick up the value from the plugin, thus the error.  Much learning has taken place. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.