-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Title: Proposal for OpenHarmony Adaptation of js-adler32
Background
OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.
Currently, js-adler32 is extensively utilized in the mobile application development domain of OpenHarmony. We have created this Issue hoping to supplement the guidance on using js-adler32 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 js-adler32, including:
- Providing a demo for using js-adler32 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 |
---|---|---|
buf(data:number[] or Unit8Array, seed?:number) | pass | |
bstr(data:string,seed?:number) | pass | |
str(data:string, seed?:number) | pass |
The results show excellent compatibility without significant stability issues. Test reports can be provided as needed.
Labels
enhancement, compatibility, cross-platform