Proposal for OpenHarmony Adaptation of cbor-js
Title: Proposal for OpenHarmony Adaptation of cbor-js
Background
OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.
Currently, cbor-js is extensively utilized in the mobile application development domain of OpenHarmony. We have created this Issue hoping to supplement the guidance on using cbor-js in the OpenHarmony system in the upstream repository. We sincerely welcome you to put forward your valuable suggestions.
Adaptation Proposal
We have completed the OpenHarmony adaptation for cbor-js, including:
- Providing a demo for using cbor-js in HarmonyOS
- Following the OHPM (OpenHarmony Package Manager) specification, the adapted version has been published to the OpenHarmony third-party software package central repository
We'll submit the adaptation code through a Pull Request (PR) promptly.
Testing Results
We have conducted extensive compatibility testing across:
- Different versions of OpenHarmony
- Various OpenHarmony device types
Verified versions include:
- DevEco Studio: NEXT Beta1-5.0.3.806, SDK: API1/XMLSchema Release(5.0.0.66)
- DevEco Studio: 4.1 Release (4.1.0.400), SDK: API 11 Release (4.1.7.5)
- DevEco Studio: 4.0 Beta2(4.0.3.512), SDK: API10 (4.0.10.9)
- DevEco Studio: 3.1.1 Release(3.1.0.501), SDK: API9 Release(3.2.12.5)
Coverage of unit test cases is as follows:
| Interface Name | Passed | Remarks |
|---|---|---|
| encode | pass | |
| decode | pass |
The results show excellent compatibility without significant stability issues. Test reports can be provided as needed.
Labels
enhancement, compatibility, cross-platform