---
title: "Run a JSS for React Native app in disconnected mode"
slug: "run-a-jss-for-react-native-app-in-disconnected-mode"
abstract: "Run your React Native application without a connection to Sitecore."
---
# Run a JSS for React Native app in disconnected mode

The [JSS disconnected mode](https://doc.sitecore.com/xp/en/developers/hd/23/sitecore-headless-development/start-a-jss-app-in-disconnected-mode.html "Start a JSS app in disconnected mode") enables the development of JSS apps using a local mock version of the [Sitecore Headless Services - Layout Service](https://doc.sitecore.com/xp/en/developers/hd/23/sitecore-headless-development/layout-service.html "Layout Service").

In the sample application, you can inspect the implementation in the `/src/dataService/dataService.disconnected.js` file. The `getRouteData` function imports JSON-formatted route data in the application.

> [!important]
> We recommend you consult the documentation for the [disconnected application mode](https://doc.sitecore.com/xp/en/developers/hd/23/sitecore-headless-development/start-a-jss-app-in-disconnected-mode.html "Start a JSS app in disconnected mode") for more information about how to [work disconnected from Sitecore](https://doc.sitecore.com/xp/en/developers/hd/23/sitecore-headless-development/working-disconnected-in-jss.html "Working disconnected in JSS").

To run your application in disconnected mode, run one of the following scripts in a terminal, depending on your target operating system:

- For Android:

    ```shell
    jss start-android
    ```

- For iOS:

    ```shell
    jss start-ios
    ```