• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Bundle Manager Subsystem Changelog
2
3## cl.bundlemanager.1 Verifying Signature Consistency When Installing a Preset Application That Has Been Uninstalled
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11After a preset application is uninstalled, an application with the same bundle name but different signature information can be installed, which poses security risks.
12
13**Change Impact**
14
15This change is a non-compatible change.
16
17Before change: After a preset application is uninstalled, an application with the same bundle name but different keys and APP ID in the signature information can be installed.
18
19After change: After a preset application is uninstalled, an application with the same bundle name but different keys and APP ID in the signature information fails to be installed.
20
21**Start API Level**
22
237
24
25**Change Since**
26
27OpenHarmony 5.0.0.54
28
29**Key API/Component Changes**
30
31Installation command provided by the [bm Tool](https://gitee.com/openharmony/docs/blob/master/en/application-dev/tools/bm-tool.md#installation-command)
32
33**Adaptation Guide**
34
351. Re-sign the application to ensure that either the (https://developer.huawei.com/consumer/en/doc/harmonyos-guides/ide-signing#section462703710326) or [APP ID](https://developer.huawei.com/consumer/en/doc/app/agc-help-createharmonyapp-0000001945392297) in the application's signature information matches that of the preset application.
362. Modify the [bundleName](https://gitee.com/openharmony/docs/blob/master/en/application-dev/quick-start/app-configuration-file.md) of the application to make it different from that of the preset application.
37
38## cl.bundlemanager.2 Command bm uninstall Cannot Directly Uninstall Applications with App Lock
39
40**Access Level**
41
42System API
43
44**Reason for Change**
45
46For security management reasons, a new app lock feature has been introduced. The **bm uninstall** command now requires unlocking or disabling the app lock before it can uninstall an application that has an app lock set.
47
48**Change Impact**
49
50This change does not require application adaptation.
51
52Before the change:
53
54The **bm uninstall** command can directly uninstall an application without additional handling.
55
56After the change:
57
58The **bm uninstall** command fails to uninstall an application if the application has an app lock set.
59
60**Start API Level**
61
62API 6
63
64**Change Since**
65
66OpenHarmony 5.0.0.54
67
68**Key API/Component Changes**
69
70bm uninstall command
71
72**Adaptation Guide**
73
74Before using the **bm uninstall** command to uninstall an application with an app lock, use [deleteUninstallDisposedRule](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-ability-kit/js-apis-appControl-sys.md#appcontroldeleteuninstalldisposedrule15) to disable the app lock. For a terminal device, you can also disable the app lock on the **Settings > Privacy & security > App lock** screen of the device. Alternatively, enter the password to unlock the app lock when prompted after executing the uninstall command.
75