• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Bundle Manager Subsystem Changelog
2
3## cl.bundlemanager.1 Prohibiting the Installation of Applications Without Code Signatures
4
5**Access Level**
6
7System API
8
9**Reason for Change**
10
11Applications without code signatures can be installed but cannot run on the device. This breaches the device regulatory measures for managing the installation of applications lacking code signatures.
12
13**Change Impact**
14
15This change is a non-compatible change.
16
17Before change:
18
19Applications without code signatures can be installed but cannot run.
20
21After change:
22
23Applications without code signatures fail to be installed, and the related installation API returns error code 17700048.
24
25
26**Start API Level**
27
2813
29
30**Change Since**
31
32OpenHarmony SDK 5.0.0.50
33
34**Key API/Component Changes**
35
36N/A
37
38**Adaptation Guide**
39
40Sign the application code and try again.
41
42## cl.bundlemanager.2 Enhanced the Installation Process to Include Signature Consistency Verification for Applications with Their Databases Preserved During Uninstallation
43
44**Access Level**
45
46System API
47
48**Reason for Change**
49
50If an application is uninstalled but its data is kept, and a new application with the same bundle name is later installed, it is necessary to check that the identity details match. If **appId** and **appIdentifier** do not match for both the uninstalled and newly installed applications, the installation fails.
51
52**Change Impact**
53
54This change is a non-compatible change.
55
56Before change:
57
58If an application is uninstalled but its data is kept, a new application with the same bundle name but different identity information can be installed.
59
60After change:
61
62If an application is uninstalled but its data is kept, a new application with the same bundle name but different identity information cannot be installed. The related installation API returns error code 17700073.
63
64
65**Start API Level**
66
6713
68
69**Change Since**
70
71OpenHarmony SDK 5.0.0.50
72
73**Key API/Component Changes**
74
75N/A
76
77**Adaptation Guide**
78
79If an application is uninstalled but its data is kept, a new application with the same bundle name but different signature information fails to be installed. To install the new application, you must first reinstall the uninstalled application and uninstall it without retaining the data.
80