18 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 1915d892f1 add MMKVConfig 2026-02-05 17:21:53 +08:00
Guo Ling f6e6fbc5e0 convert log message to utf-8 by (changing src in utf-8) for win32 client 2026-01-30 18:04:08 +08:00
guoling 8599d2eb95 convert log message to utf-8 for win32 client 2026-01-29 20:49:01 +08:00
guoling c3a7af9fee move log handler forward into initMMKV & deprecate registerHandler on iOS #949 2022-09-19 16:50:25 +08:00
guoling 43da97a621 fix _getFileName() namespace error #737 2021-08-11 11:23:05 +08:00
guoling 2515a63eb3 support clang __FILE_NAME__ macro 2020-11-17 19:04:13 +08:00
guoling 193d77e329 prepare for v1.2.4 2020-10-21 16:38:55 +08:00
guoling 7b55308987 support WatchOS & unify MMKV framework's product name 2020-04-08 11:53:35 +08:00
guoling 3c61c8ea2c fix flock() bug on ashmem in Android 2019-12-30 21:21:42 +08:00
guoling 6ecde2839e sharing MMKVLog with iOS 2019-12-25 11:18:45 +08:00
guoling 9364d0ccfd add relativePath support for iOS 2019-12-24 22:13:42 +08:00
guoling 59b064b8bf merge iOS to Core lib: most things actually work 2019-12-23 21:30:56 +08:00
guoling 968d2bdd7c prepare to merge iOS to Core lib 2019-12-19 15:18:39 +08:00
guoling b13d9d8639 split Android stuff in seperate file 2019-12-13 16:51:37 +08:00
guoling 4fea0e8788 merging Core lib to Android almost done 2019-12-12 20:31:16 +08:00
guoling f2d1230e37 prepare to replace hand-make-mmap with class MemoryFile 2019-12-05 18:18:09 +08:00
guoling b3494159f7 prepare to use Core lib 2019-12-03 21:14:31 +08:00