how can i run service on background application

4 posts, 0 answers
  1. kwanchanok
    kwanchanok avatar
    22 posts
    Member since:
    May 2014

    Posted 10 Oct 2014 Link to this post

    i want plugin for run service every 10 minutes on background and not impact to application. how can i do. what plugin is good for use this?


    Thank you
  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 15 Oct 2014 Link to this post

    Hello kwanchanok,

    Thank you for contacting our support.

    There is a background service plugin that enables this feature for Android applications. You can find its sources here and a complete workflow about how to import it inside your project, here. For iOS, you can benefit from the Background Mode options in the project properties. At this stage, you can choose between: Audio, Location, VoIP, Newsstand Accessory and Bluetooth. Enabling one of these should provide the needed permissions in you app in order to execute certain code in the background.

    Also, you can check this plugin that implements background services for iOS and WP8.

    I hope this helps. Please, let me know if you need further assistance.


    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Javier
    Javier avatar
    2 posts
    Member since:
    Jul 2016

    Posted 03 Oct in reply to Kaloyan Link to this post

    hola, tengo un proyecto que requiere el senso de ubiucaciones del suario; con javascript ya se hace esta funcionalidad pero falla al estar la aplicacion en segundo plano... necesito me ayuden con un ejemplo
  4. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 06 Oct Link to this post

    Hi Javier,

    Please post your questions to the community in English, so everyone could understand them and be able to answer them. Could you elaborate on the problem that you encounter again, in English and we will do our best to help.

    Regards,
    Tsvetina
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top