I was able to use this plugin in an AppBuilder app following the steps for importing custom plugins
. I then followed the example demonstrated in the plugin repository to configure and start it. I tested the app on an iOS device so please have in mind that my configurations are targeting that platform and you may have to further configure the plugin to work in an Andorid environment.
I attached the sample I prepared for your convenience. You can run it on an iOS device following thes tutorials
. Basically, the app is defined to start the BackgroundGeoLocation
plugin as soon as Cordova is fully loaded. Then if I hit the home button to put the app in a background mode it keeps tracking the location so that as soon as I bring it back, it logs the location coordinates. Looking at the plugin information, I believe you should also be able to log the location info on a server but I have not tested this functionality and I would therefore recommend contacting the plugin author in case you have any issues with that.
I hope the project will help you get started with your task.
Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!