--- title: "Steps in Developing an Offline App" slug: "steps-in-developing-an-offline-app" updated: 2024-02-22T05:58:22Z published: 2024-02-22T05:58:22Z canonical: "help.pillir.io/steps-in-developing-an-offline-app" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.pillir.io/llms.txt > Use this file to discover all available pages before exploring further. # Steps in Developing an Offline App ## Creating an Offline App in the APM Canvas To create an Offline App, follow the steps outlined in "[Steps in Creating Business Functions](http://Steps in Creating Business Functions)" section. When the Application type has to be selected, select **Offline app** and click **Next**. ![Offlineapp](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/Offlineapp.png) Then the user selects **Mobile** in the **Primary deployment platform** popup window. ![Primarydeploymenyplatform](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/Primarydeploymenyplatform.png) Note Currently, Only **Non-workflow** apps can be created in offline mode. Also, the **Web interface** is not available for Offline Apps. After choosing the app icon, the APM screen is opened to develop the app. ![offline-apm screen](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/offline-apm%20screen.png) ## Setting Up Data Sync To setup the data sync, the user can follow the below steps: 1. In the APM screen, the **Start** icon is clicked to open the **Service Start** popup window on the right.![start%20download%20screen%20setting-new](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/start%20download%20screen%20setting-new.png) 2. Enter the following information: 1. **Is BOS for initial and delta download the same?** - If **Yes**, a single BOS is displayed on the canvas; If **No**, two BOS'es for the Initial and Delta download are displayed.![deltadownload-new](https://cdn.document360.io/718af901-247b-46be-8ace-83da21839237/Images/Documentation/deltadownload-new.png) 2. **Download** - Specify the download interval (can choose only one) - Every time Internet connection is available - This setting downloads data whenever the app is online - Every time user opens the app - This setting downloads data every time the user opens the app - Default - This setting downloads data according to the scheduled sync interval time (set below) 3. **Sync interval** - The data sync can be scheduled at 0,4,8,12 and 24 hours 4. **Data Validity** - Clears all transaction data and refreshes with new data from the server after the set validity period. The validity period can be set at 7 days, 14 days, 21 days, or 30 days. NoteIf the transaction data is not synced within the validity period, the data becomes invalid. ## Offline App Design, Implementation and Testing After setting up the Initial and Delta download, the user can continue with the following steps to create a fully functional offline app: - Design the App flow in the [App Process Modeler](https://help.pillir.io/docs/apm-components-and-properties) - Create the UI Screens in the [App Designer](https://help.pillir.io/docs/app-designer-components) - Create business function variables as required. To know more, refer [Understanding Offline Data](https://help.pillir.io/docs/understanding-app-data) - Add Behavior for each component and screens in the [App Behavior](https://help.pillir.io/docs/blocks-in-the-app-behavior-section-with-their-parameters) section - Develop the BOSes for each screen in the [Integration Builder](https://help.pillir.io/docs/integration-builder-an-overview) - [Preview](https://help.pillir.io/docs/preview-publish-transport-section#how-to-do-an-app-preview) and [Publish](https://help.pillir.io/docs/preview-publish-transport-section#how-to-publish-the-app) the Offline App. Optionally, the user can [Deploy](https://help.pillir.io/docs/mobile-application-edgeready-applications) the Offline App to be tested on device. WarningThe Preview option cannot be used to validate Offline sync or Offline data flow. The app functions like an online app in preview mode. The Preview is primarily available to validate the UI flow during implementation. [](https://help.pillir.io/docs/preview-publish-transport-section#how-to-transport-the-app) - [Transport](https://help.pillir.io/docs/preview-publish-transport-section#how-to-transport-the-app) the Offline App to the quality environment once all the stages of app development are complete. ## How to Upgrade an Offline App? When a new version of the offline micro-app is published through APM, the end-user is alerted with a pop-up message. On clicking **Upgrade**, the current version of the offline app is available for use and the data that is populated in initial download is updated. Existing records are updated and new records are downloaded. ## How to Delete an Offline App? Currently an end-user cannot delete individual offline micro-apps that is within the container app. Only during App Deployment, the EdgeReady App can be removed from the existing container app.