# iOS background mode

**URL:** <https://forums.fusetools.com/t/ios-background-mode/6270>\
**Category:** Bug Reports\
**Created:** [January 15, 2017, 9:26am UTC](https://forums.fusetools.com/t/ios-background-mode/6270 "2017-01-15T09:26:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![noe.adam](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/noe.adam/32/613_2.png) [@noe.adam](https://forums.fusetools.com/u/noe.adam)\
**Post date:** [January 15, 2017, 9:26am UTC](https://forums.fusetools.com/t/ios-background-mode/6270/1 "2017-01-15T09:26:59Z")

</div>

Fuse version 0.32.0 (build 9613)

I used sample:  
[https://www.fusetools.com/docs/fusejs/lifecycle](https://www.fusetools.com/docs/fusejs/lifecycle)  
when app enteringBackground I setTimer.  
On Android app run in background and send Local Notification  
On iOS app don’t run and don’t send Local Notification.

Thank for help.  
Best Regards.

---

<div class="post-metadata">

**Author:** ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)\
**Post date:** [January 23, 2017, 11:15am UTC](https://forums.fusetools.com/t/ios-background-mode/6270/2 "2017-01-23T11:15:37Z")

</div>

You cannot run JS code whilst in the background on iOS. This also should not work on Android but the fact it does it a bug.

You may be able to use the `later` method of `FuseJS/LocalNotifications` if you want to fire the notification `X` seconds after the app goes to the background.
