1e41f4b71Sopenharmony_ci# Switching of app and deviceConfig
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ciTo help you better maintain the configuration of application-level attributes, OpenHarmony has extracted the **app** and **deviceConfig** tags from the **config.json** file to the **app.json5** file and changed certain tag names in the stage model.
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ci**Table 1** Comparison of the app tag in the configuration files
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci| Configuration Item| app in config.json| app in app.json5|
9e41f4b71Sopenharmony_ci| -------- | -------- | -------- |
10e41f4b71Sopenharmony_ci| Internal version number of an application| "version": {<br>    "code": 1,<br>} | "versionCode":&nbsp;1&nbsp;, |
11e41f4b71Sopenharmony_ci| Text description of the version number, which is displayed to users| "version": {<br>    "name": "1.0.0",<br>} | "versionName"&nbsp;:&nbsp;"1.0.0"&nbsp;, |
12e41f4b71Sopenharmony_ci| Earliest compatible version of the application| "version": {<br>    "minCompatibleVersionCode":  1,<br>} | "minCompatibleVersionCode"&nbsp;:&nbsp;1&nbsp;, |
13e41f4b71Sopenharmony_ci| Minimum API version required for application running| "apiVersion": {<br>    "compatible":  7,<br>}            | "minAPIVersion"&nbsp;:&nbsp;7&nbsp;, |
14e41f4b71Sopenharmony_ci| Target API version required for application running| "apiVersion": {<br>    "target":  8,<br>} | "targetApiVersion"&nbsp;:&nbsp;8&nbsp;, |
15e41f4b71Sopenharmony_ci| Type of the target API version required for application running| "apiVersion": {<br>    "releaseType":  Release,<br>} | "apiReleaseType":&nbsp;"Release"&nbsp;, |
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ciOpenHarmony has reconstructed the [deviceConfig](../quick-start/deviceconfig-structure.md) tag of the **config.json** file in the **app.json5** file. It has integrated the fields related to device information under **deviceConfig** into the **app** tag of the [app.json5](../quick-start/app-configuration-file.md) file.
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci**Table 2** Comparison of the deviceConfig tag in the configuration files
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci| deviceConfig in the FA Model| Description| Stage Model| Difference|
23e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- |
24e41f4b71Sopenharmony_ci| deviceConfig| Device information.| / | This tag is no longer available in the stage model. In the stage model, device information is configured under the **app** tag.|
25e41f4b71Sopenharmony_ci| process | Name of the process running the application or UIAbility. If the **process** attribute is configured in the **deviceConfig** tag, all UIAbilities of the application run in this process. You can set the **process** attribute for a specific UIAbility in the **abilities** attribute, so that the UIAbility can run in the particular process.| / | The stage model does not support the configuration of process names.|
26e41f4b71Sopenharmony_ci| keepAlive | Whether the application is always running. This attribute applies only to system applications and does not take effect for third-party applications.| / | The stage model does not support changing of the model control mode for system applications.|
27e41f4b71Sopenharmony_ci| supportBackup | Whether the application supports data backup and restore.| / | This configuration is not supported in the stage model.|
28e41f4b71Sopenharmony_ci| compressNativeLibs | Whether the **libs** libraries are packaged in the HAP file after being compressed.| / | This configuration is not supported in the stage model.|
29e41f4b71Sopenharmony_ci| network | Network security configuration.| / | This configuration is not supported in the stage model.|
30