# How does Background App Refresh work on iOS

**URL:** <https://community.thunkable.com/t/how-does-background-app-refresh-work-on-ios/1327314>\
**Category:** Questions about Thunkable X\
**Created:** [June 5, 2021, 3:31pm UTC](https://community.thunkable.com/t/how-does-background-app-refresh-work-on-ios/1327314 "2021-06-05T15:31:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tshippy6rt](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@tshippy6rt](https://community.thunkable.com/u/tshippy6rt)\
**Post date:** [June 5, 2021, 3:31pm UTC](https://community.thunkable.com/t/how-does-background-app-refresh-work-on-ios/1327314/1 "2021-06-05T15:31:32Z")

</div>

I am writing an app that monitors a users location then fires a call to open a Shortcut when they pass within a set distance of a programmed location. I have it working when the Thunkable app is displayed, but if you close the phone or switch apps, it stops updating the location and checking distance. I have checked my phone’s settings and Thunkable, and Shortcuts are set to have background app refresh enabled. Is there a setting in Thunkable that I am missing? or is this just not going to work?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [June 5, 2021, 3:35pm UTC](https://community.thunkable.com/t/how-does-background-app-refresh-work-on-ios/1327314/2 "2021-06-05T15:35:26Z")

</div>

Thunkable does not support background service.  
You can try to run your code When opening the app.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/how-does-background-app-refresh-work-on-ios/1327314/3 "2024-11-08T13:22:05Z")

</div>


