js-adler32 icon indicating copy to clipboard operation
js-adler32 copied to clipboard

Proposal for OpenHarmony Adaptation of js-adler32

Open Haoc-xytx opened this issue 8 months ago • 0 comments

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:

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

Haoc-xytx avatar May 16 '25 00:05 Haoc-xytx