# Take current position every 30 seconds, even when app closed

**URL:** <https://forum.ionicframework.com/t/take-current-position-every-30-seconds-even-when-app-closed/56840>\
**Category:** cordova\
**Created:** [July 7, 2016, 8:46am UTC](https://forum.ionicframework.com/t/take-current-position-every-30-seconds-even-when-app-closed/56840 "2016-07-07T08:46:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matanyed](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@matanyed](https://forum.ionicframework.com/u/matanyed)\
**Post date:** [July 7, 2016, 8:46am UTC](https://forum.ionicframework.com/t/take-current-position-every-30-seconds-even-when-app-closed/56840/1 "2016-07-07T08:46:58Z")

</div>

Hi I want to develop application that based on users current position, even if the app closed.  
I can do that? Is that possible? If yes, it’s hard?

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [July 7, 2016, 11:50am UTC](https://forum.ionicframework.com/t/take-current-position-every-30-seconds-even-when-app-closed/56840/2 "2016-07-07T11:50:50Z")

</div>

Hi matanyed, check out this (native supported) ionic 2 plugin: [http://ionicframework.com/docs/v2/native/backgroundgeolocation/](http://ionicframework.com/docs/v2/native/backgroundgeolocation/)

I guess thats what you need for such a project. How hard it is to build something like what you’re asking for, always depends on your skills and what you _exactly_ want. Because if you only want to trigger one action based on geolocation, that’s way more easy then triggering different kind of actions based on different kind of geolocations for example. So the question how hard it is can only be answered by a making a good set of requirements before you start building such a thing 😉
