> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/device/exitapp.md).

# exitApp

## Description

Exits from the current mobile app.

## Input / Parameter

N/A

## Output

N/A

## Callback

N/A

## Video

Coming Soon.

## Example

The user wants to exit the current mobile app.

### Steps

| No. | Description                      |                                                                                                                                            |
| --- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| 1.  | ![](/files/lVAGc3uA5gpjsDqayctI) | Drag a button to a page in the mobile designer. Select the event `click` for the button and drag the `exitApp` function to the event flow. |

### Result

When the button is pressed, the mobile app will be closed.

## Links
