# exit app

**URL:** <https://forums.fusetools.com/t/exit-app/6792>\
**Category:** How-to Discussions\
**Created:** [February 12, 2016, 12:36pm UTC](https://forums.fusetools.com/t/exit-app/6792 "2016-02-12T12:36:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayaydinaysenur](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@ayaydinaysenur](https://forums.fusetools.com/u/ayaydinaysenur)\
**Post date:** [February 12, 2016, 12:36pm UTC](https://forums.fusetools.com/t/exit-app/6792/1 "2016-02-12T12:36:46Z")

</div>

Hi, I want to exit app when backbutton pressed. But I don’t know what I should use to command such as exit, finish, close etc. Can you help me? Thanks.

ux:

```auto
<WhileTrue ux:Name="backPulse" Value="false">
    <Callback Handler="{exitingApp}"/>
</WhileTrue>
<OnBackButton>
  <Pulse Target="backPulse" />
</OnBackButton>

```

javascript:

```auto
function exitingApp(args)
        {
            //I don't know what command I should use here
        };

```

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [February 12, 2016, 12:49pm UTC](https://forums.fusetools.com/t/exit-app/6792/2 "2016-02-12T12:49:18Z")

</div>

Hi, you can check this thread for a solution: [https://www.fusetools.com/community/forums/permalink/82984c7c-7084-46ca-886f-d2b095246fd9](https://www.fusetools.com/community/forums/permalink/82984c7c-7084-46ca-886f-d2b095246fd9)

---

<div class="post-metadata">

**Author:** ![cosku](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cosku/32/402_2.png) [@cosku](https://forums.fusetools.com/u/cosku)\
**Post date:** [December 21, 2016, 10:25pm UTC](https://forums.fusetools.com/t/exit-app/6792/3 "2016-12-21T22:25:58Z")

</div>

Hi there,  
Is there any non 3rd party option for closing app in js?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [January 4, 2017, 11:21am UTC](https://forums.fusetools.com/t/exit-app/6792/4 "2017-01-04T11:21:55Z")

</div>

Currently there isn’t, but we’re planning on introducing one.
