harmony 鸿蒙Common Capability Changelog
Common Capability Changelog
cl.common.1 System API Usage Rule Changed
When a system API is called, no verification is performed to check whether the caller is a system application or third-party application. As a result, a third-party application can switch to the full SDK to use system APIs, which brings security risks. To address this issue, application identity verification is added to OpenHarmony 4.0.2.1 and later versions.
Change Impact
System APIs are available only to system applications. When a third-party application tries to use a system API, the 202 error will be returned via either an exception or asynchronous callback.
Adaptation Guide
To use a system API, a third-party application must either request the system application permission or use a substitute API that is available for non-system applications.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Ability Framework Changelog
harmony 鸿蒙Multi-language Runtime Subsystem Changelog
harmony 鸿蒙ArkUI Subsystem Changelog
harmony 鸿蒙Bundle Management Subsystem Changelog
harmony 鸿蒙Globalization Subsystem Changelog
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦