How to use this plugin in telerik app builder .?

2 posts, 0 answers
  1. Nitesh
    Nitesh avatar
    3 posts
    Member since:
    Feb 2014

    Posted 22 Jun 2014 Link to this post

    Hello ,

    We are working for good cause making application for women safety , so i need one application when i click on button then location tracing start and when i close the button then it should stop tracing. 

    so i got one plugin i think we should do this.

    1. i used this plugin in telerik appbuilder  but am not able to get location of by this plugin.
    2. i am able to get location by standard method navigator.geolocation one but i want location by this plugin.
    3. it works in background perfectly but when i press back button it app stop working but tracing starts

    main concern is how to get location by this plugin not by standard plugin. 

    please try this and help me. i will be very grateful of this.

    Waiting for your reply.
  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 26 Jun 2014 Link to this post

    Hi Nitesh,

    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.

    Tina Stancheva

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

Back to Top