Commit Graph

1342 Commits

Author SHA1 Message Date
guoling ac1a234d21 test "@tencent/mmkv": "1.3.4" 2024-04-18 11:30:07 +08:00
guoling 78395c1c99 use @tencent/mmkv everywhere 2024-04-17 17:08:00 +08:00
guoling 9747d0ce3f update readme 2024-04-17 16:58:26 +08:00
guoling 317b1ffe16 add example 2024-04-17 15:07:56 +08:00
guoling ddb1a79282 rename backto @tencent/mmkv 2024-04-17 14:56:08 +08:00
guoling da60eeb4a3 tidy readme 2024-04-16 20:26:30 +08:00
guoling dde859ccd4 add Prerequisites 2024-04-16 20:19:46 +08:00
guoling d88571f5ed move readme & stuff to root dir of MMKV module 2024-04-16 20:10:05 +08:00
guoling 95c30fc017 use Har instead of Hsp for MMKV module 2024-04-16 17:59:02 +08:00
guoling e2a694e681 update binary size 2024-04-16 17:06:21 +08:00
guoling 1fb5f2cd98 fix compile error 2024-04-16 16:20:37 +08:00
guoling 8c08a69d8b add OHOS doc 2024-04-15 18:19:54 +08:00
guoling 932c6ea283 add JSDoc 2024-04-15 15:17:52 +08:00
guoling 83458b2425 tidy access & return type & exception for MMKV class 2024-04-12 11:46:26 +08:00
guoling d6aa6f3ace add NativeBuffer 2024-04-12 10:55:37 +08:00
guoling bcf76f68fd tidy description 2024-04-11 17:42:24 +08:00
guoling b81f033558 add ashmem mmkv 2024-04-11 16:35:50 +08:00
guoling 52edb1ef8d add enableAutoKeyExpire() & enableCompareBeforeSet() 2024-04-11 12:11:43 +08:00
guoling 1f5034a2fd add nulliability annotation 2024-04-11 10:58:48 +08:00
guoling 5a70ee4e84 OHOS doesnt have renameat2() eventhough the macro SYS_renameat2 is defined 2024-04-10 21:42:56 +08:00
guoling 03ce05705c tidy include 2024-04-10 21:38:51 +08:00
guoling 0187c37e48 tested ohos backup & restore 2024-04-10 21:21:11 +08:00
guoling 48d45c5bc4 stash for ohos backup & restore, almost done 2024-04-10 21:06:57 +08:00
guoling 2b8fd0cc21 stash for ohos backup & restore 2024-04-09 17:53:16 +08:00
guoling 540cf78c39 support empty Array when import from Preferences 2024-04-08 16:25:57 +08:00
guoling 898a65e0db add importFromPreferences(), encode & decode Array<number>, Array<boolean> 2024-04-08 16:19:18 +08:00
guoling 4ec118e4da add mmkvWithID() & reKey() 2024-04-08 11:33:57 +08:00
guoling c5af12321d add even more functionality 2024-04-07 17:37:25 +08:00
guoling 853fd7fc9b add more functionality 2024-04-07 17:05:46 +08:00
guoling 73b0b0e9f3 add encodeStringSet() & decodeStringSet() 2024-04-07 16:15:02 +08:00
guoling 1b8ef57d9a add allKeys() & removeValuesForKeys() 2024-04-07 15:39:18 +08:00
guoling 330949c279 use manual managed codesign 2024-04-07 14:39:09 +08:00
guoling 6979e26783 add containsKey(), removeValueForKey() & count() 2024-04-03 20:24:48 +08:00
guoling a0182ece5e use napi_create_external_arraybuffer() in possible 2024-04-03 18:28:56 +08:00
guoling 7ae81f7ed9 tidy common functions 2024-04-03 18:03:57 +08:00
guoling bef2087d31 add encode & decode bytes 2024-04-03 17:46:48 +08:00
guoling 52b849ea8a use bigint instead of BigInt as type 2024-04-03 16:22:34 +08:00
guoling b0b945763d add encode & decode string 2024-04-03 16:04:35 +08:00
guoling 1b150019e1 add encode & decode for int32/uint32/int64/uint64/double 2024-04-03 15:46:37 +08:00
guoling 5ada922a4f using TS getter 2024-04-03 11:57:16 +08:00
guoling e2d184f8d8 rename napi_init.cpp to native_bridge.cpp 2024-04-03 11:52:59 +08:00
guoling cd3db0cfc5 assume all ohos armv8 devices have aes+crc32 instr 2024-04-03 10:46:05 +08:00
guoling c33213f327 change UI 2024-04-02 19:12:10 +08:00
guoling eac5dc1b44 encodeBool() & decodeBool() works 2024-04-02 19:10:23 +08:00
guoling 571f70ff26 add NAPI_CALL() 2024-04-01 20:40:23 +08:00
guoling 56ba0738f0 initial commit for OpenHarmony support 2024-04-01 18:42:05 +08:00
Guo Ling 32d8e0952b Merge pull request #1263 from catundercar/dev 2024-03-31 19:41:51 +08:00
tulip 5403cea874 feat: use the embedded libz when libz cannot be found. 2024-03-31 19:03:04 +08:00
guoling 94ec7061d9 bump iOS Deployment Target to iOS 12 2024-03-28 10:26:20 +08:00
guoling a0e2cb37b2 bump minSdkVersion to 23 2024-03-28 10:09:01 +08:00