50 Commits

Author SHA1 Message Date
guoling 9348a93f26 refactor callback system into unified MMKVHandler across all platforms
Replace 4 separate static function pointers (LogHandler, ErrorHandler,
ContentChangeHandler, ContentLoadedHandler) with a single MMKVHandler
abstract class in Core C++. Update all 6 platform wrappers (iOS, Android,
OHOS, Python, Golang, Flutter) to use adapter classes bridging to the new
unified handler. Add onMMKVContentLoadSuccessfully callback to Android,
OHOS, Flutter, Python and Golang where it was previously missing.
2026-03-18 12:40:05 +08:00
guoling 2ba8ff9bc0 support AES 256 2025-09-24 11:55:35 +08:00
guoling b069fe2fba drop deprecate armv7 logic 2025-04-21 17:43:58 +08:00
guoling 939eec0d90 upgrade to macOS 10.15 2025-02-18 17:08:26 +08:00
guoling f23e95c652 support using MMKVCore at Apple platform in pure C++ code 2025-02-14 19:43:48 +08:00
guoling 89b56922e8 1. NameSpace almost work on iOS
2. Upgrade to iOS 13, watchOS 6
3. Dont mkPath() on ReadOnly mode
2025-01-06 15:54:38 +08:00
guoling 32ed8ce544 add Mac Catalyst support #1345 2024-07-09 21:02:22 +08:00
guoling 5bffed9b0f upgrade iOS C++ to 20 2024-04-29 15:19:52 +08:00
guoling 94ec7061d9 bump iOS Deployment Target to iOS 12 2024-03-28 10:26:20 +08:00
Cyril Bonaccini 76107d762c chore: make MMKV visionos compatible 2024-02-16 09:22:11 +01:00
guoling 852ea1e6c8 add Expire constant 2023-05-26 17:25:20 +08:00
guoling 983d1d0a33 upgrade to iOS 11 / macOS 10.13 / tvOS 13 / watchOS 4 2023-05-24 18:12:58 +08:00
guoling 105a86d889 upgrade to iOS 11 / macOS 10.13 / tvOS 12 / watchOS 4 2023-05-24 17:40:05 +08:00
guoling ddc27d0153 fix nullable error 2022-03-30 10:22:06 +08:00
Douglas Lowder b6562e6888 Support tvOS 2021-09-21 00:42:02 -07:00
guoling 03b5e2de77 set project level indentWidth=4 2021-09-09 17:47:06 +08:00
guoling 2e63c504ce remove VALID_ARCHS setting for Xcode 12, upgrade mini iOS to 9.0 #640 & #641 2021-03-01 14:56:03 +08:00
guoling b482b7ce86 clean up aes & crc32 platform macro 2020-10-30 17:06:51 +08:00
guoling 1d262bb195 hide KeyValueHolder from public header 2020-06-30 18:23:25 +08:00
guoling 4291436ac4 fix Xcode 12 warnings 2020-06-23 11:41:29 +08:00
guoling dacbd84693 split IO logic into seperate file 2020-06-22 23:02:24 +08:00
guoling ffc70108ad fix some encrypt bug & drop iOS 8 2020-06-18 18:13:00 +08:00
guoling 305bbca60d aes decrypt almost done 2020-06-16 21:48:18 +08:00
guoling 524df11448 finish read, prepare for write 2020-06-09 22:22:53 +08:00
guoling 402a65fc5f key-value holder 2020-06-08 23:19:19 +08:00
guoling 7b55308987 support WatchOS & unify MMKV framework's product name 2020-04-08 11:53:35 +08:00
guoling d44a7673e3 remove writeString for iOS 2020-04-02 17:56:17 +08:00
guoling bfa973c706 protect from background writing in iOS 2020-03-30 17:29:53 +08:00
guoling 99d1541fd6 arm64e 2020-03-25 21:08:18 +08:00
guoling e9b2faf830 add libz for Core framework 2020-03-25 17:13:00 +08:00
guoling 794af2cdef fix Core framework product name 2020-03-25 15:47:43 +08:00
guoling 924bc7a8d1 fix Core header path 2020-03-25 14:59:25 +08:00
guoling ffe9c90e24 add MMKV_ASSERT() 2020-01-21 15:45:01 +08:00
guoling 723f718c4a clean up 2020-01-14 11:42:52 +08:00
guoling 479c5070e5 tune crc32 on armv8 2020-01-10 21:49:19 +08:00
guoling 8132481ed5 tune aes speed on armv7 2020-01-09 20:54:17 +08:00
guoling 7f3f185d45 tune aes speed on armv8 2020-01-09 18:35:25 +08:00
guoling 482c1a1b33 remove AESCrypt & MMKVMetaInfo from MMKV public header 2020-01-03 21:43:39 +08:00
guoling 455b9d840c remove ThreadLock & InterProcessLock from MMKV public header 2020-01-03 18:52:00 +08:00
guoling dd24e5a5e6 type safety 2020-01-03 12:14:35 +08:00
guoling 620933d9ea opt copying from NSData to MMBuffer 2020-01-02 19:04:12 +08:00
guoling 953b720e37 split Apple stuff in seperate file 2019-12-27 17:08:00 +08:00
guoling a0d585e437 split Apple stuff in seperate file 2019-12-27 12:59:48 +08:00
guoling b22546b02d use system zlib if possible 2019-12-26 18:28:52 +08:00
guoling 6ecde2839e sharing MMKVLog with iOS 2019-12-25 11:18:45 +08:00
guoling c88a5eb695 add initializeMMKV for iOS & rename openssl files 2019-12-24 17:35:14 +08:00
guoling 59b064b8bf merge iOS to Core lib: most things actually work 2019-12-23 21:30:56 +08:00
guoling 728ee4c9c2 prepare Core lib for iOS/macOS 2019-12-20 16:58:10 +08:00
guoling 3c7f30ad75 compiling cpp as ObjC++ 2019-12-19 22:08:48 +08:00
guoling 968d2bdd7c prepare to merge iOS to Core lib 2019-12-19 15:18:39 +08:00