目录

Component Startup Rules (Stage Model)

Component startup refers to the behavior of starting or connecting to an application component.

General Component Startup Rules

To deliver a better user experience, the system restricts the following behavior:

In view of this, the system formulates a set of component startup rules, as follows:

The component startup rules described above apply from API version 9 onwards. The specific version when new rules come into effect is noted separately within the rules. Familiarity with these rules helps you prevent service exceptions.

Intra-Device Component Startup Rules

The rules for starting components on the same device vary in the following scenarios:

The BACKGROUND and CALL permissions in the following figure refer to ohos.permission.START_ABILITIES_FROM_BACKGROUND and ohos.permission.ABILITY_BACKGROUND_COMMUNICATION, respectively.

Inter-Device Component Startup Rules

The rules for starting components on a different device vary in the following scenarios:

The BACKGROUND and DATASYNC permissions in the following figure refer to ohos.permission.START_ABILITIES_FROM_BACKGROUND and ohos.permission.DISTRIBUTED_DATASYNC, respectively.