harmony 鸿蒙Application Configuration File Overview (Stage Model)

  • 2022-08-09
  • 浏览 (718)

Application Configuration File Overview (Stage Model)

Each application project must have configuration files in its code directory. These configuration files provide basic application information for build tools, operating systems, and application markets.

In the code directory of an application project developed in stage model, there are two types of configuration files: one app.json5 file and one or more module.json5 files.

The app.json5 file contains the following contents:

  • Application-wide configuration, including the bundle name, developer, and version number.

  • Device-specific configuration.

The module.json5 file contains the following contents:

  • Basic module configuration, such as the name, type, description, and supported device types of the module.

  • Information about the application components, including the descriptions of the UIAbility and ExtensionAbility components.

  • Information about the permissions required during application running.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Quick Start

harmony 鸿蒙app.json5 Configuration File

harmony 鸿蒙Internal Structure of the app Tag

harmony 鸿蒙Application Configuration File Overview (FA Model)

harmony 鸿蒙Application Configuration File Overview (Stage Model)

harmony 鸿蒙Application Installation and Uninstallation Process

harmony 鸿蒙Application Package Overview

harmony 鸿蒙Application Package Structure in FA Model

harmony 鸿蒙Application Package Structure in Stage Model

harmony 鸿蒙Basic UI Description

0  赞