Closed xiaoxizi2303 closed 1 month ago
Sure. But the number type in JavaScript is double underneath. Is there real need to handle float from double?
I need to parse the mmkv storage file generated in the Android project on the Harmony project. This file stores data of the float type. Therefore, an interface of the float type is required to parse the data of the float type.
Noted.
Thank you. When can this interface be provided? Because the customer encounters the problem that the float type cannot be parsed when using the mmkv library.
Yes.
Hello, when can the modification of this problem be released to the ohpm central warehouse of Harmony?
Hello, when can the modification of this problem be released to the ohpm central warehouse of Harmony?
If you are in a hurry, we can publish an alpha version of 1.3.6-alpha.
Yes, we really need this version now, thank you very much
v1.3.6-alpha is live on OHPM.
Okay, thank you very much.
After upgrading to 1.3.6-alpha I found some warnings occurred when compiling. However mmkv still works fine so this might not be a bug, but it's still a bit annoying.
> hvigor WARN: ArkTS:WARN File: D:/DevEcoProjects/SomeProject/oh_modules/.ohpm/@tencent+mmkv@1.3.6-alpha/oh_modules/@tencent/mmkv/src/main/ets/utils/MMKV.ets:119:13
Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)
WARN: ArkTS:WARN File: D:/DevEcoProjects/SomeProject/oh_modules/.ohpm/@tencent+mmkv@1.3.6-alpha/oh_modules/@tencent/mmkv/src/main/ets/utils/MMKV.ets:139:13
Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)
WARN: ArkTS:WARN File: D:/DevEcoProjects/SomeProject/oh_modules/.ohpm/@tencent+mmkv@1.3.6-alpha/oh_modules/@tencent/mmkv/src/main/ets/utils/MMKV.ets:735:13
Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)
WARN: ArkTS:WARN File: D:/DevEcoProjects/SomeProject/oh_modules/.ohpm/@tencent+mmkv@1.3.6-alpha/oh_modules/@tencent/mmkv/src/main/ets/utils/MMKV.ets:752:13
Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)
WARN: ArkTS:WARN: For details about ArkTS syntax errors, see FAQs
WARN: ArkTS:WARN File: D:/DevEcoProjects/SomeProject/oh_modules/.ohpm/@tencent+mmkv@1.3.6-alpha/oh_modules/@tencent/mmkv/src/main/ets/utils/MMKV.ets:21:20
Currently module for 'libmmkv.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared.
Noted.
This problem is not found in the Harmony project of the new version.
All except this one are fixed. I can't find any document about this warning.
Currently module for 'libmmkv.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared.
Other alarms are generated because the Harmony SDK updates the rules for verifying variable types.
The warning is fixed in v1.3.6-beta on OHPM.
Okay, thanks.
The version of MMKV
What's the issue?